home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Science / Biology / DataMinder / DM Databases / Reagents < prev    next >
MacBinary  |  1992-07-31  |  101.4 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Reagents

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Apr 12 09:29:28 1990, modified Fri Jul 31 05:53:41 1992, creator HyperCard, type HyperCard stack, 101344 bytes "Reagents" , at 0x18c60 2277 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 52 65 61 67 65 6e | 74 73 00 00 00 00 00 00 |..Reagen|ts......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 8b e0 00 | 00 08 e5 a2 4a 33 38 a6 |........|....J38.|
|00000060| 9e be 25 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..%.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 65 63 00 00 |........|....ec..|
|00000080| 00 00 4e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..N.STAK|........|
|00000090| 00 00 00 0a 00 01 8b e0 | 00 00 4e 00 00 00 00 00 |........|..N.....|
|000000a0| 00 00 00 00 00 00 00 04 | 00 00 1a 4d 00 00 00 09 |........|...M....|
|000000b0| 00 00 16 60 00 00 08 ef | 00 00 00 00 00 00 00 00 |...`....|........|
|000000c0| 00 00 0d f5 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 20 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |. ......|........|
|000000f0| f2 78 67 fd 00 00 00 01 | 00 45 00 40 01 9b 02 40 |.xg.....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 35 e0 00 00 31 40 | 00 00 00 00 00 00 00 00 |..5...1@|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ee 88 bb 22 ee 88 bb 22 |..3"..3"|..."..."|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 52 45 41 47 45 4e 54 53 |........|REAGENTS|
|000006d0| 20 73 74 61 63 6b 0d b0 | b0 b0 b0 b0 b0 b0 b0 b0 | stack..|........|
|000006e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000700| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000710| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 0d 6f |........|.......o|
|00000720| 6e 20 6f 70 65 6e 63 61 | 72 64 0d 67 6c 6f 62 61 |n openca|rd.globa|
|00000730| 6c 20 6f 6c 64 6e 61 6d | 65 2c 6f 6c 64 76 6f 6c |l oldnam|e,oldvol|
|00000740| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00000750| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |me of th|is cd is|
|00000760| 20 69 6e 20 63 64 20 66 | 6c 64 20 22 73 6f 6c 75 | in cd f|ld "solu|
|00000770| 74 69 6f 6e 69 6e 64 65 | 78 22 20 6f 66 20 63 64 |tioninde|x" of cd|
|00000780| 20 31 20 61 6e 64 c2 0d | 74 68 65 20 69 64 20 6f | 1 and..|the id o|
|00000790| 66 20 74 68 69 73 20 63 | 64 3c 3e 22 63 61 72 64 |f this c|d<>"card|
|000007a0| 20 69 64 20 33 39 30 37 | 22 20 74 68 65 6e 0d 70 | id 3907|" then.p|
|000007b0| 75 74 20 62 67 20 66 6c | 64 20 69 64 20 33 38 20 |ut bg fl|d id 38 |
|000007c0| 69 6e 74 6f 20 6f 6c 64 | 6e 61 6d 65 0d 70 75 74 |into old|name.put|
|000007d0| 20 62 67 20 66 6c 64 20 | 69 64 20 36 37 20 69 6e | bg fld |id 67 in|
|000007e0| 74 6f 20 6f 6c 64 76 6f | 6c 0d 65 6e 64 20 69 66 |to oldvo|l.end if|
|000007f0| 0d 65 6e 64 20 6f 70 65 | 6e 63 61 72 64 0d 0d 6f |.end ope|ncard..o|
|00000800| 6e 20 63 6c 6f 73 65 63 | 61 72 64 0d 67 6c 6f 62 |n closec|ard.glob|
|00000810| 61 6c 20 6f 6c 64 76 6f | 6c 0d 69 66 20 74 68 65 |al oldvo|l.if the|
|00000820| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00000830| 68 69 73 20 63 64 20 69 | 73 20 69 6e 20 63 64 20 |his cd i|s in cd |
|00000840| 66 6c 64 20 22 73 6f 6c | 75 74 69 6f 6e 69 6e 64 |fld "sol|utionind|
|00000850| 65 78 22 20 6f 66 20 63 | 64 20 31 20 61 6e 64 c2 |ex" of c|d 1 and.|
|00000860| 0d 74 68 65 20 69 64 20 | 6f 66 20 74 68 69 73 20 |.the id |of this |
|00000870| 63 64 3c 3e 22 63 61 72 | 64 20 69 64 20 33 39 30 |cd<>"car|d id 390|
|00000880| 37 22 20 74 68 65 6e 0d | 70 75 74 20 6f 6c 64 76 |7" then.|put oldv|
|00000890| 6f 6c 20 69 6e 74 6f 20 | 62 67 20 66 6c 64 20 69 |ol into |bg fld i|
|000008a0| 64 20 36 37 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d 67.end| if.end |
|000008b0| 63 6c 6f 73 65 63 61 72 | 64 0d 0d 6f 6e 20 69 64 |closecar|d..on id|
|000008c0| 6c 65 0d 67 6c 6f 62 61 | 6c 20 74 69 6d 65 4f 75 |le.globa|l timeOu|
|000008d0| 74 53 74 61 74 75 73 2c | 74 69 6d 65 4f 75 74 2c |tStatus,|timeOut,|
|000008e0| 73 63 72 65 65 6e 53 61 | 76 65 72 2c 6f 6c 64 54 |screenSa|ver,oldT|
|000008f0| 69 6d 65 0d 61 64 64 20 | 31 20 74 6f 20 74 69 6d |ime.add |1 to tim|
|00000900| 65 6f 75 74 0d 69 66 20 | 74 69 6d 65 6f 75 74 3e |eout.if |timeout>|
|00000910| 36 30 30 30 20 74 68 65 | 6e 20 70 75 74 20 65 6d |6000 the|n put em|
|00000920| 70 74 79 20 69 6e 74 6f | 20 74 69 6d 65 6f 75 74 |pty into| timeout|
|00000930| 0d 65 6c 73 65 20 69 66 | 20 74 69 6d 65 6f 75 74 |.else if| timeout|
|00000940| 3d 36 30 30 30 20 74 68 | 65 6e 0d 69 66 20 74 69 |=6000 th|en.if ti|
|00000950| 6d 65 4f 75 74 53 74 61 | 74 75 73 3d 74 72 75 65 |meOutSta|tus=true|
|00000960| 20 74 68 65 6e 0d 70 75 | 74 20 65 6d 70 74 79 20 | then.pu|t empty |
|00000970| 69 6e 74 6f 20 74 69 6d | 65 6f 75 74 0d 76 69 73 |into tim|eout.vis|
|00000980| 75 61 6c 20 65 66 66 65 | 63 74 20 69 72 69 73 20 |ual effe|ct iris |
|00000990| 63 6c 6f 73 65 0d 67 6f | 20 68 6f 6d 65 0d 65 6e |close.go| home.en|
|000009a0| 64 20 69 66 0d 69 66 20 | 73 63 72 65 65 6e 53 61 |d if.if |screenSa|
|000009b0| 76 65 72 20 69 73 20 74 | 72 75 65 20 74 68 65 6e |ver is t|rue then|
|000009c0| 0d 68 69 64 65 20 6d 65 | 6e 75 62 61 72 0d 70 75 |.hide me|nubar.pu|
|000009d0| 74 20 22 2c 22 26 69 74 | 65 6d 20 33 20 6f 66 20 |t ","&it|em 3 of |
|000009e0| 74 68 65 20 73 63 72 65 | 65 6e 72 65 63 74 26 22 |the scre|enrect&"|
|000009f0| 2c 22 26 69 74 65 6d 20 | 34 20 6f 66 20 74 68 65 |,"&item |4 of the|
|00000a00| 20 73 63 72 65 65 6e 72 | 65 63 74 20 69 6e 74 6f | screenr|ect into|
|00000a10| 20 63 6f 4f 72 64 73 0d | 70 75 74 20 22 2d 22 26 | coOrds.|put "-"&|
|00000a20| 28 69 74 65 6d 20 33 20 | 6f 66 20 74 68 65 20 73 |(item 3 |of the s|
|00000a30| 63 72 65 65 6e 72 65 63 | 74 29 2f 31 2e 35 26 22 |creenrec|t)/1.5&"|
|00000a40| 2c 2d 22 26 28 69 74 65 | 6d 20 34 20 6f 66 20 74 |,-"&(ite|m 4 of t|
|00000a50| 68 65 20 73 63 72 65 65 | 6e 72 65 63 74 29 2f 31 |he scree|nrect)/1|
|00000a60| 2e 35 20 62 65 66 6f 72 | 65 20 63 6f 4f 72 64 73 |.5 befor|e coOrds|
|00000a70| 0d 73 63 72 65 65 6e 73 | 61 76 65 72 20 63 6f 4f |.screens|aver coO|
|00000a80| 72 64 73 0d 73 68 6f 77 | 20 6d 65 6e 75 62 61 72 |rds.show| menubar|
|00000a90| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00000aa0| 66 20 74 68 65 20 74 69 | 63 6b 73 2d 6f 6c 64 74 |f the ti|cks-oldt|
|00000ab0| 69 6d 65 3e 32 30 20 74 | 68 65 6e 20 70 75 74 20 |ime>20 t|hen put |
|00000ac0| 30 20 69 6e 74 6f 20 74 | 69 6d 65 6f 75 74 0d 70 |0 into t|imeout.p|
|00000ad0| 75 74 20 74 68 65 20 74 | 69 63 6b 73 20 69 6e 74 |ut the t|icks int|
|00000ae0| 6f 20 6f 6c 64 74 69 6d | 65 0d 65 6e 64 20 69 64 |o oldtim|e.end id|
|00000af0| 6c 65 0d 0d 6f 6e 20 6d | 6f 75 73 65 64 6f 77 6e |le..on m|ousedown|
|00000b00| 0d 67 6c 6f 62 61 6c 20 | 74 69 6d 65 6f 75 74 0d |.global |timeout.|
|00000b10| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 74 |put empt|y into t|
|00000b20| 69 6d 65 6f 75 74 0d 70 | 61 73 73 20 6d 6f 75 73 |imeout.p|ass mous|
|00000b30| 65 64 6f 77 6e 0d 65 6e | 64 20 6d 6f 75 73 65 64 |edown.en|d moused|
|00000b40| 6f 77 6e 0d 0d 0d 6f 6e | 20 64 6f 6d 65 6e 75 20 |own...on| domenu |
|00000b50| 77 68 69 63 68 0d 69 66 | 20 77 68 69 63 68 3d 22 |which.if| which="|
|00000b60| 45 78 70 6f 72 74 20 44 | 61 74 61 62 61 73 65 2e |Export D|atabase.|
|00000b70| 2e 2e 22 20 74 68 65 6e | 20 65 78 70 6f 72 74 64 |.." then| exportd|
|00000b80| 61 74 61 62 61 73 65 0d | 65 6c 73 65 20 69 66 20 |atabase.|else if |
|00000b90| 77 68 69 63 68 3d 22 49 | 6d 70 6f 72 74 20 44 61 |which="I|mport Da|
|00000ba0| 74 61 62 61 73 65 2e 2e | 2e 22 20 74 68 65 6e 20 |tabase..|." then |
|00000bb0| 69 6d 70 6f 72 74 64 61 | 74 61 62 61 73 65 0d 65 |importda|tabase.e|
|00000bc0| 6c 73 65 20 69 66 20 77 | 68 69 63 68 20 69 73 20 |lse if w|hich is |
|00000bd0| 22 44 65 6c 65 74 65 20 | 63 61 72 64 22 20 74 68 |"Delete |card" th|
|00000be0| 65 6e 0d 69 66 20 74 68 | 65 20 75 73 65 72 6c 65 |en.if th|e userle|
|00000bf0| 76 65 6c 3c 35 20 74 68 | 65 6e 0d 70 6c 61 79 20 |vel<5 th|en.play |
|00000c00| 68 61 72 70 73 69 63 68 | 6f 72 64 0d 65 78 69 74 |harpsich|ord.exit|
|00000c10| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6c | to Hype|rcard.el|
|00000c20| 73 65 20 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |se if th|e short |
|00000c30| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|00000c40| 69 73 20 69 6e 20 63 64 | 20 66 6c 64 20 22 73 6f |is in cd| fld "so|
|00000c50| 6c 75 74 69 6f 6e 69 6e | 64 65 78 22 20 6f 66 20 |lutionin|dex" of |
|00000c60| 63 64 20 31 20 74 68 65 | 6e 0d 64 65 6c 74 61 63 |cd 1 the|n.deltac|
|00000c70| 64 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 20 70 61 |d.end if|.else pa|
|00000c80| 73 73 20 64 6f 6d 65 6e | 75 0d 65 6e 64 20 64 6f |ss domen|u.end do|
|00000c90| 6d 65 6e 75 0d 0d 6f 6e | 20 67 65 74 6d 65 74 68 |menu..on| getmeth|
|00000ca0| 6f 64 0d 47 6c 6f 62 61 | 6c 20 6f 6c 64 6e 61 6d |od.Globa|l oldnam|
|00000cb0| 65 0d 70 75 74 20 74 68 | 65 20 6c 6f 6e 67 20 6e |e.put th|e long n|
|00000cc0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|00000cd0| 6e 74 6f 20 63 64 69 64 | 0d 6c 6f 63 6b 20 73 63 |nto cdid|.lock sc|
|00000ce0| 72 65 65 6e 0d 67 6f 20 | 74 6f 20 63 64 20 31 20 |reen.go |to cd 1 |
|00000cf0| 6f 66 20 73 74 61 63 6b | 20 22 4e 6f 74 65 62 6f |of stack| "Notebo|
|00000d00| 6f 6b 22 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ok".if t|he resul|
|00000d10| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 43 61 6e 27 |t contai|ns "Can'|
|00000d20| 74 20 6f 70 65 6e 20 73 | 74 61 63 6b 22 20 74 68 |t open s|tack" th|
|00000d30| 65 6e 0d 70 6c 61 79 20 | 68 61 72 70 73 69 63 68 |en.play |harpsich|
|00000d40| 6f 72 64 0d 61 6e 73 77 | 65 72 20 22 54 68 65 20 |ord.answ|er "The |
|00000d50| 4e 4f 54 45 53 20 64 61 | 74 61 62 61 73 65 20 69 |NOTES da|tabase i|
|00000d60| 73 20 61 6c 72 65 61 64 | 79 20 69 6e 20 75 73 65 |s alread|y in use|
|00000d70| 21 22 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |!".exit |to Hyper|
|00000d80| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |card.end| if.if t|
|00000d90| 68 65 20 75 73 65 72 6c | 65 76 65 6c 3d 31 20 74 |he userl|evel=1 t|
|00000da0| 68 65 6e 20 70 75 74 20 | 22 56 69 65 77 2c 43 61 |hen put |"View,Ca|
|00000db0| 6e 63 65 6c 22 20 69 6e | 74 6f 20 73 65 74 74 69 |ncel" in|to setti|
|00000dc0| 6e 67 73 0d 65 6c 73 65 | 20 70 75 74 20 22 56 69 |ngs.else| put "Vi|
|00000dd0| 65 77 2c 4e 65 77 2c 43 | 61 6e 63 65 6c 22 20 69 |ew,New,C|ancel" i|
|00000de0| 6e 74 6f 20 73 65 74 74 | 69 6e 67 73 0d 67 65 74 |nto sett|ings.get|
|00000df0| 20 73 68 6f 77 6c 69 73 | 74 28 63 64 20 66 6c 64 | showlis|t(cd fld|
|00000e00| 20 22 6d 65 74 68 6f 64 | 69 6e 64 65 78 22 20 6f | "method|index" o|
|00000e10| 66 20 63 64 20 31 2c 31 | 33 2c 22 44 4d 20 4d 65 |f cd 1,1|3,"DM Me|
|00000e20| 74 68 6f 64 73 22 2c c2 | 0d 66 61 6c 73 65 2c 73 |thods",.|.false,s|
|00000e30| 65 74 74 69 6e 67 73 29 | 0d 69 66 20 6c 69 6e 65 |ettings)|.if line|
|00000e40| 20 31 20 6f 66 20 69 74 | 20 69 73 20 22 43 61 6e | 1 of it| is "Can|
|00000e50| 63 65 6c 22 20 74 68 65 | 6e 0d 67 6f 20 74 6f 20 |cel" the|n.go to |
|00000e60| 63 64 69 64 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |cdid.exi|t to Hyp|
|00000e70| 65 72 63 61 72 64 0d 65 | 6c 73 65 20 69 66 20 6c |ercard.e|lse if l|
|00000e80| 69 6e 65 20 31 20 6f 66 | 20 69 74 3d 22 6e 65 77 |ine 1 of| it="new|
|00000e90| 22 20 74 68 65 6e 0d 63 | 68 65 63 6b 76 61 6c 69 |" then.c|heckvali|
|00000ea0| 64 6e 61 6d 65 0d 70 75 | 74 20 74 68 65 20 72 65 |dname.pu|t the re|
|00000eb0| 73 75 6c 74 20 69 6e 74 | 6f 20 70 72 6f 74 6f 63 |sult int|o protoc|
|00000ec0| 6f 6c 6e 61 6d 65 0d 73 | 65 74 20 63 75 72 73 6f |olname.s|et curso|
|00000ed0| 72 20 74 6f 20 34 0d 6c | 6f 63 6b 20 73 63 72 65 |r to 4.l|ock scre|
|00000ee0| 65 6e 0d 67 6f 20 74 6f | 20 63 64 20 22 6e 6f 74 |en.go to| cd "not|
|00000ef0| 65 73 22 20 6f 66 20 73 | 74 61 63 6b 20 22 4e 6f |es" of s|tack "No|
|00000f00| 74 65 62 6f 6f 6b 22 0d | 64 6f 6d 65 6e 75 20 22 |tebook".|domenu "|
|00000f10| 6e 65 77 20 63 61 72 64 | 22 0d 73 65 74 20 74 68 |new card|".set th|
|00000f20| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |e name o|f this c|
|00000f30| 64 20 74 6f 20 70 72 6f | 74 6f 63 6f 6c 6e 61 6d |d to pro|tocolnam|
|00000f40| 65 0d 70 75 74 20 70 72 | 6f 74 6f 63 6f 6c 6e 61 |e.put pr|otocolna|
|00000f50| 6d 65 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 54 |me into |field "T|
|00000f60| 69 74 6c 65 22 0d 70 75 | 74 20 70 72 6f 74 6f 63 |itle".pu|t protoc|
|00000f70| 6f 6c 6e 61 6d 65 20 69 | 6e 74 6f 20 6f 6c 64 6e |olname i|nto oldn|
|00000f80| 61 6d 65 0d 70 75 74 20 | 72 65 74 75 72 6e 26 70 |ame.put |return&p|
|00000f90| 72 6f 74 6f 63 6f 6c 6e | 61 6d 65 20 61 66 74 65 |rotocoln|ame afte|
|00000fa0| 72 20 63 64 20 66 69 65 | 6c 64 20 22 6d 65 74 68 |r cd fie|ld "meth|
|00000fb0| 6f 64 69 6e 64 65 78 22 | 20 6f 66 20 63 64 20 31 |odindex"| of cd 1|
|00000fc0| 0d 70 75 74 20 73 6f 72 | 74 66 69 65 6c 64 20 28 |.put sor|tfield (|
|00000fd0| 63 64 20 66 69 65 6c 64 | 20 22 6d 65 74 68 6f 64 |cd field| "method|
|00000fe0| 69 6e 64 65 78 22 20 6f | 66 20 63 64 20 31 29 20 |index" o|f cd 1) |
|00000ff0| 69 6e 74 6f 20 63 64 20 | 66 69 65 6c 64 20 22 6d |into cd |field "m|
|00001000| 65 74 68 6f 64 69 6e 64 | 65 78 22 20 6f 66 20 63 |ethodind|ex" of c|
|00001010| 64 20 31 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |d 1.repe|at until|
|00001020| 20 6c 69 6e 65 20 31 20 | 6f 66 20 63 64 20 66 69 | line 1 |of cd fi|
|00001030| 65 6c 64 20 22 6d 65 74 | 68 6f 64 69 6e 64 65 78 |eld "met|hodindex|
|00001040| 22 20 6f 66 20 63 64 20 | 31 20 69 73 20 6e 6f 74 |" of cd |1 is not|
|00001050| 20 65 6d 70 74 79 0d 64 | 65 6c 65 74 65 20 6c 69 | empty.d|elete li|
|00001060| 6e 65 20 31 20 6f 66 20 | 63 64 20 66 69 65 6c 64 |ne 1 of |cd field|
|00001070| 20 22 6d 65 74 68 6f 64 | 69 6e 64 65 78 22 20 6f | "method|index" o|
|00001080| 66 20 63 64 20 31 0d 65 | 6e 64 20 72 65 70 65 61 |f cd 1.e|nd repea|
|00001090| 74 0d 68 69 64 65 20 66 | 69 65 6c 64 20 22 6c 61 |t.hide f|ield "la|
|000010a0| 62 42 6f 6f 6b 22 0d 75 | 6e 6c 6f 63 6b 20 73 63 |bBook".u|nlock sc|
|000010b0| 72 65 65 6e 20 77 69 74 | 68 20 76 69 73 75 61 6c |reen wit|h visual|
|000010c0| 20 65 66 66 65 63 74 20 | 69 72 69 73 20 6f 70 65 | effect |iris ope|
|000010d0| 6e 0d 63 6c 69 63 6b 20 | 61 74 20 31 38 2c 35 37 |n.click |at 18,57|
|000010e0| 0d 65 6c 73 65 0d 67 6f | 20 74 6f 20 63 64 20 69 |.else.go| to cd i|
|000010f0| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 32 20 |tem 1 of| line 2 |
|00001100| 6f 66 20 69 74 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |of it.un|lock scr|
|00001110| 65 65 6e 20 77 69 74 68 | 20 76 69 73 75 61 6c 20 |een with| visual |
|00001120| 65 66 66 65 63 74 20 69 | 72 69 73 20 6f 70 65 6e |effect i|ris open|
|00001130| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 67 65 74 6d |.end if.|end getm|
|00001140| 65 74 68 6f 64 0d 0d 6f | 6e 20 67 65 74 73 6f 6c |ethod..o|n getsol|
|00001150| 75 74 69 6f 6e 0d 47 6c | 6f 62 61 6c 20 53 4f 4c |ution.Gl|obal SOL|
|00001160| 55 54 49 4f 4e 49 4e 44 | 45 58 0d 69 66 20 74 68 |UTIONIND|EX.if th|
|00001170| 65 20 69 64 20 6f 66 20 | 74 68 69 73 20 63 64 3c |e id of |this cd<|
|00001180| 3e 22 63 61 72 64 20 69 | 64 20 33 39 30 37 22 20 |>"card i|d 3907" |
|00001190| 61 6e 64 c2 0d 74 68 65 | 20 69 64 20 6f 66 20 74 |and..the| id of t|
|000011a0| 68 69 73 20 63 64 3c 3e | 22 63 61 72 64 20 69 64 |his cd<>|"card id|
|000011b0| 20 35 37 32 38 22 20 61 | 6e 64 c2 0d 74 68 65 20 | 5728" a|nd..the |
|000011c0| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 3c 3e 22 |id of th|is cd<>"|
|000011d0| 63 61 72 64 20 69 64 20 | 33 36 36 36 22 20 74 68 |card id |3666" th|
|000011e0| 65 6e 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |en.put t|he short|
|000011f0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00001200| 20 69 6e 74 6f 20 63 64 | 6e 61 6d 65 0d 65 6c 73 | into cd|name.els|
|00001210| 65 20 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |e put li|ne 1 of |
|00001220| 63 64 20 66 6c 64 20 22 | 73 6f 6c 75 74 69 6f 6e |cd fld "|solution|
|00001230| 69 6e 64 65 78 22 20 6f | 66 20 63 64 20 31 20 69 |index" o|f cd 1 i|
|00001240| 6e 74 6f 20 63 64 6e 61 | 6d 65 0d 67 65 74 20 73 |nto cdna|me.get s|
|00001250| 68 6f 77 6c 69 73 74 28 | 63 64 20 66 6c 64 20 22 |howlist(|cd fld "|
|00001260| 73 6f 6c 75 74 69 6f 6e | 69 6e 64 65 78 22 20 6f |solution|index" o|
|00001270| 66 20 63 64 20 31 2c 31 | 33 2c 22 44 4d 20 53 6f |f cd 1,1|3,"DM So|
|00001280| 6c 75 74 69 6f 6e 20 44 | 61 74 61 62 61 73 65 22 |lution D|atabase"|
|00001290| 2c c2 0d 66 61 6c 73 65 | 2c 22 56 69 65 77 2c 57 |,..false|,"View,W|
|000012a0| 6f 72 6b 73 68 65 65 74 | 2c 43 61 74 61 6c 6f 67 |orksheet|,Catalog|
|000012b0| 2c 43 61 6e 63 65 6c 22 | 2c 63 64 6e 61 6d 65 29 |,Cancel"|,cdname)|
|000012c0| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 69 74 |.if line| 1 of it|
|000012d0| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000012e0| 6e 20 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |n exit t|o Hyperc|
|000012f0| 61 72 64 0d 76 69 73 75 | 61 6c 20 65 66 66 65 63 |ard.visu|al effec|
|00001300| 74 20 69 72 69 73 20 6f | 70 65 6e 0d 69 66 20 6c |t iris o|pen.if l|
|00001310| 69 6e 65 20 31 20 6f 66 | 20 69 74 3d 22 77 6f 72 |ine 1 of| it="wor|
|00001320| 6b 73 68 65 65 74 22 20 | 74 68 65 6e 20 67 6f 20 |ksheet" |then go |
|00001330| 74 6f 20 63 64 20 22 73 | 6f 6c 75 74 69 6f 6e 73 |to cd "s|olutions|
|00001340| 22 0d 65 6c 73 65 20 69 | 66 20 6c 69 6e 65 20 31 |".else i|f line 1|
|00001350| 20 6f 66 20 69 74 20 69 | 73 20 22 63 61 74 61 6c | of it i|s "catal|
|00001360| 6f 67 22 20 74 68 65 6e | 20 67 6f 20 74 6f 20 63 |og" then| go to c|
|00001370| 64 20 22 6d 65 67 61 63 | 61 74 61 6c 6f 67 22 0d |d "megac|atalog".|
|00001380| 65 6c 73 65 20 67 6f 20 | 74 6f 20 63 64 20 69 74 |else go |to cd it|
|00001390| 65 6d 20 31 20 6f 66 20 | 6c 69 6e 65 20 32 20 6f |em 1 of |line 2 o|
|000013a0| 66 20 69 74 0d 65 6e 64 | 20 67 65 74 73 6f 6c 75 |f it.end| getsolu|
|000013b0| 74 69 6f 6e 0d 0d 6f 6e | 20 67 65 74 6c 61 62 62 |tion..on| getlabb|
|000013c0| 6f 6f 6b 0d 47 6c 6f 62 | 61 6c 20 4c 41 42 42 4f |ook.Glob|al LABBO|
|000013d0| 4f 4b 49 4e 44 45 58 0d | 70 75 74 20 74 68 65 20 |OKINDEX.|put the |
|000013e0| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|000013f0| 73 20 63 64 20 69 6e 74 | 6f 20 63 64 69 64 0d 6c |s cd int|o cdid.l|
|00001400| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 74 6f |ock scre|en.go to|
|00001410| 20 63 64 20 31 20 6f 66 | 20 73 74 61 63 6b 20 22 | cd 1 of| stack "|
|00001420| 4e 6f 74 65 62 6f 6f 6b | 22 0d 69 66 20 74 68 65 |Notebook|".if the|
|00001430| 20 72 65 73 75 6c 74 20 | 63 6f 6e 74 61 69 6e 73 | result |contains|
|00001440| 20 22 43 61 6e 27 74 20 | 6f 70 65 6e 20 73 74 61 | "Can't |open sta|
|00001450| 63 6b 22 20 74 68 65 6e | 0d 70 6c 61 79 20 68 61 |ck" then|.play ha|
|00001460| 72 70 73 69 63 68 6f 72 | 64 0d 61 6e 73 77 65 72 |rpsichor|d.answer|
|00001470| 20 22 54 68 65 20 4e 4f | 54 45 53 20 64 61 74 61 | "The NO|TES data|
|00001480| 62 61 73 65 20 69 73 20 | 61 6c 72 65 61 64 79 20 |base is |already |
|00001490| 69 6e 20 75 73 65 21 22 | 0d 65 78 69 74 20 74 6f |in use!"|.exit to|
|000014a0| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | Hyperca|rd.end i|
|000014b0| 66 0d 69 66 20 74 68 65 | 20 75 73 65 72 6c 65 76 |f.if the| userlev|
|000014c0| 65 6c 3d 31 20 74 68 65 | 6e 20 70 75 74 20 22 56 |el=1 the|n put "V|
|000014d0| 69 65 77 2c 43 61 6e 63 | 65 6c 22 20 69 6e 74 6f |iew,Canc|el" into|
|000014e0| 20 73 65 74 74 69 6e 67 | 73 0d 65 6c 73 65 20 70 | setting|s.else p|
|000014f0| 75 74 20 22 56 69 65 77 | 2c 4e 65 77 2c 43 61 6e |ut "View|,New,Can|
|00001500| 63 65 6c 22 20 69 6e 74 | 6f 20 73 65 74 74 69 6e |cel" int|o settin|
|00001510| 67 73 0d 67 65 74 20 73 | 68 6f 77 6c 69 73 74 28 |gs.get s|howlist(|
|00001520| 63 64 20 66 6c 64 20 22 | 6c 61 62 62 6f 6f 6b 69 |cd fld "|labbooki|
|00001530| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 2c 31 33 |ndex" of| cd 1,13|
|00001540| 2c 22 44 4d 20 4c 61 62 | 20 4e 6f 74 65 73 22 2c |,"DM Lab| Notes",|
|00001550| c2 0d 66 61 6c 73 65 2c | 73 65 74 74 69 6e 67 73 |..false,|settings|
|00001560| 29 0d 69 66 20 74 68 65 | 20 75 73 65 72 6c 65 76 |).if the| userlev|
|00001570| 65 6c 3d 31 20 61 6e 64 | 20 6c 69 6e 65 20 31 20 |el=1 and| line 1 |
|00001580| 6f 66 20 69 74 3d 22 4e | 65 77 22 20 74 68 65 6e |of it="N|ew" then|
|00001590| 20 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 | play ha|rpsichor|
|000015a0| 64 20 32 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |d 2.if l|ine 1 of|
|000015b0| 20 69 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 | it is "|Cancel" |
|000015c0| 6f 72 20 74 68 65 20 75 | 73 65 72 6c 65 76 65 6c |or the u|serlevel|
|000015d0| 3d 31 20 61 6e 64 20 6c | 69 6e 65 20 31 20 6f 66 |=1 and l|ine 1 of|
|000015e0| 20 69 74 3c 3e 22 56 69 | 65 77 22 20 74 68 65 6e | it<>"Vi|ew" then|
|000015f0| 0d 67 6f 20 74 6f 20 63 | 64 69 64 0d 65 78 69 74 |.go to c|did.exit|
|00001600| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6c | to Hype|rcard.el|
|00001610| 73 65 20 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |se if li|ne 1 of |
|00001620| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 6e 65 77 |it conta|ins "new|
|00001630| 22 20 74 68 65 6e 0d 63 | 68 65 63 6b 76 61 6c 69 |" then.c|heckvali|
|00001640| 64 6e 61 6d 65 0d 70 75 | 74 20 74 68 65 20 72 65 |dname.pu|t the re|
|00001650| 73 75 6c 74 20 69 6e 74 | 6f 20 63 64 6e 61 6d 65 |sult int|o cdname|
|00001660| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 34 |.set cur|sor to 4|
|00001670| 0d 6c 6f 63 6b 74 68 69 | 6e 67 73 0d 67 6f 20 74 |.lockthi|ngs.go t|
|00001680| 6f 20 63 64 20 22 6e 6f | 74 65 73 22 20 6f 66 20 |o cd "no|tes" of |
|00001690| 73 74 61 63 6b 20 22 4e | 6f 74 65 62 6f 6f 6b 22 |stack "N|otebook"|
|000016a0| 0d 64 6f 6d 65 6e 75 20 | 22 4e 65 77 20 63 61 72 |.domenu |"New car|
|000016b0| 64 22 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |d".set t|he name |
|000016c0| 6f 66 20 74 68 69 73 20 | 63 64 20 74 6f 20 63 64 |of this |cd to cd|
|000016d0| 6e 61 6d 65 0d 70 75 74 | 20 63 64 6e 61 6d 65 20 |name.put| cdname |
|000016e0| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 54 69 74 6c |into fie|ld "Titl|
|000016f0| 65 22 0d 68 69 64 65 20 | 66 69 65 6c 64 20 22 6d |e".hide |field "m|
|00001700| 65 74 68 6f 64 22 0d 70 | 75 74 20 72 65 74 75 72 |ethod".p|ut retur|
|00001710| 6e 26 63 64 6e 61 6d 65 | 20 61 66 74 65 72 20 63 |n&cdname| after c|
|00001720| 64 20 66 6c 64 20 22 6c | 61 62 62 6f 6f 6b 69 6e |d fld "l|abbookin|
|00001730| 64 65 78 22 20 6f 66 20 | 63 64 20 31 0d 70 75 74 |dex" of |cd 1.put|
|00001740| 20 73 6f 72 74 66 69 65 | 6c 64 28 63 64 20 66 6c | sortfie|ld(cd fl|
|00001750| 64 20 22 6c 61 62 62 6f | 6f 6b 69 6e 64 65 78 22 |d "labbo|okindex"|
|00001760| 20 6f 66 20 63 64 20 31 | 29 20 69 6e 74 6f 20 63 | of cd 1|) into c|
|00001770| 64 20 66 6c 64 20 22 6c | 61 62 62 6f 6f 6b 69 6e |d fld "l|abbookin|
|00001780| 64 65 78 22 20 6f 66 20 | 63 64 20 31 0d 72 65 70 |dex" of |cd 1.rep|
|00001790| 65 61 74 20 75 6e 74 69 | 6c 20 6c 69 6e 65 20 31 |eat unti|l line 1|
|000017a0| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 6c 61 62 62 | of cd f|ld "labb|
|000017b0| 6f 6f 6b 69 6e 64 65 78 | 22 20 6f 66 20 63 64 20 |ookindex|" of cd |
|000017c0| 31 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 0d 64 |1 is not| empty.d|
|000017d0| 65 6c 65 74 65 20 6c 69 | 6e 65 20 31 20 6f 66 20 |elete li|ne 1 of |
|000017e0| 63 64 20 66 6c 64 20 22 | 6c 61 62 62 6f 6f 6b 69 |cd fld "|labbooki|
|000017f0| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 0d 65 6e |ndex" of| cd 1.en|
|00001800| 64 20 72 65 70 65 61 74 | 0d 75 6e 6c 6f 63 6b 74 |d repeat|.unlockt|
|00001810| 68 69 6e 67 73 0d 76 69 | 73 75 61 6c 20 65 66 66 |hings.vi|sual eff|
|00001820| 65 63 74 20 69 72 69 73 | 20 6f 70 65 6e 0d 67 6f |ect iris| open.go|
|00001830| 20 74 6f 20 63 64 20 63 | 64 6e 61 6d 65 0d 63 6c | to cd c|dname.cl|
|00001840| 69 63 6b 20 61 74 20 31 | 38 2c 35 37 0d 65 6c 73 |ick at 1|8,57.els|
|00001850| 65 0d 67 6f 20 74 6f 20 | 63 64 20 69 74 65 6d 20 |e.go to |cd item |
|00001860| 31 20 6f 66 20 6c 69 6e | 65 20 32 20 6f 66 20 69 |1 of lin|e 2 of i|
|00001870| 74 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |t.unlock| screen |
|00001880| 77 69 74 68 20 76 69 73 | 75 61 6c 20 65 66 66 65 |with vis|ual effe|
|00001890| 63 74 20 69 72 69 73 20 | 6f 70 65 6e 0d 65 6e 64 |ct iris |open.end|
|000018a0| 20 69 66 0d 65 6e 64 20 | 67 65 74 6c 61 62 62 6f | if.end |getlabbo|
|000018b0| 6f 6b 0d 0d 6f 6e 20 63 | 68 65 63 6b 76 61 6c 69 |ok..on c|heckvali|
|000018c0| 64 6e 61 6d 65 0d 70 75 | 74 20 22 31 32 33 34 35 |dname.pu|t "12345|
|000018d0| 36 37 38 39 30 22 20 69 | 6e 74 6f 20 6c 6f 67 0d |67890" i|nto log.|
|000018e0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|000018f0| 64 6e 61 6d 65 0d 70 75 | 74 20 63 64 20 66 6c 64 |dname.pu|t cd fld|
|00001900| 20 22 6d 65 74 68 6f 64 | 69 6e 64 65 78 22 20 6f | "method|index" o|
|00001910| 66 20 63 64 20 31 20 69 | 6e 74 6f 20 69 6e 64 65 |f cd 1 i|nto inde|
|00001920| 78 63 6f 6e 74 65 6e 74 | 73 0d 70 75 74 20 72 65 |xcontent|s.put re|
|00001930| 74 75 72 6e 26 20 63 64 | 20 66 6c 64 20 22 6c 61 |turn& cd| fld "la|
|00001940| 62 62 6f 6f 6b 69 6e 64 | 65 78 22 20 6f 66 20 63 |bbookind|ex" of c|
|00001950| 64 20 31 20 61 66 74 65 | 72 20 69 6e 64 65 78 63 |d 1 afte|r indexc|
|00001960| 6f 6e 74 65 6e 74 73 0d | 72 65 70 65 61 74 20 75 |ontents.|repeat u|
|00001970| 6e 74 69 6c 20 64 6f 6e | 65 3d 22 4f 4b 22 0d 70 |ntil don|e="OK".p|
|00001980| 75 74 20 22 6f 6b 22 20 | 69 6e 74 6f 20 72 65 73 |ut "ok" |into res|
|00001990| 75 6c 74 0d 61 73 6b 20 | 22 45 6e 74 65 72 20 74 |ult.ask |"Enter t|
|000019a0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 6e |he name |of the n|
|000019b0| 65 77 20 64 61 74 61 20 | 69 74 65 6d 2e 22 20 77 |ew data |item." w|
|000019c0| 69 74 68 20 63 64 6e 61 | 6d 65 0d 73 65 74 20 63 |ith cdna|me.set c|
|000019d0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 69 |ursor to| watch.i|
|000019e0| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|000019f0| 65 6e 20 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en exit |to Hyper|
|00001a00| 63 61 72 64 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |card.put| it into|
|00001a10| 20 63 64 6e 61 6d 65 0d | 69 66 20 63 64 6e 61 6d | cdname.|if cdnam|
|00001a20| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 2c 22 20 6f |e contai|ns "," o|
|00001a30| 72 20 63 64 6e 61 6d 65 | 20 63 6f 6e 74 61 69 6e |r cdname| contain|
|00001a40| 73 20 71 75 6f 74 65 20 | 74 68 65 6e 0d 70 6c 61 |s quote |then.pla|
|00001a50| 79 20 68 61 72 70 73 69 | 63 68 6f 72 64 0d 61 6e |y harpsi|chord.an|
|00001a60| 73 77 65 72 20 22 49 6e | 76 61 6c 69 64 20 63 68 |swer "In|valid ch|
|00001a70| 61 72 61 63 74 65 72 73 | 20 75 73 65 64 21 22 20 |aracters| used!" |
|00001a80| 77 69 74 68 20 22 54 72 | 79 20 61 67 61 69 6e 22 |with "Tr|y again"|
|00001a90| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|00001aa0| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00001ab0| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 48 79 70 65 |hen exit| to Hype|
|00001ac0| 72 63 61 72 64 0d 65 6c | 73 65 20 6e 65 78 74 20 |rcard.el|se next |
|00001ad0| 72 65 70 65 61 74 0d 65 | 6c 73 65 20 69 66 20 74 |repeat.e|lse if t|
|00001ae0| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 63 64 6e |he lengt|h of cdn|
|00001af0| 61 6d 65 3e 33 30 20 74 | 68 65 6e 0d 70 6c 61 79 |ame>30 t|hen.play|
|00001b00| 20 68 61 72 70 73 69 63 | 68 6f 72 64 0d 61 6e 73 | harpsic|hord.ans|
|00001b10| 77 65 72 20 22 53 65 71 | 75 65 6e 63 65 20 6e 61 |wer "Seq|uence na|
|00001b20| 6d 65 73 20 6d 75 73 74 | 20 62 65 20 6e 6f 20 6d |mes must| be no m|
|00001b30| 6f 72 65 20 74 68 61 6e | 20 33 30 20 63 68 61 72 |ore than| 30 char|
|00001b40| 61 63 74 65 72 73 20 6c | 6f 6e 67 21 22 20 77 69 |acters l|ong!" wi|
|00001b50| 74 68 20 22 54 72 79 20 | 61 67 61 69 6e 22 20 6f |th "Try |again" o|
|00001b60| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00001b70| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|00001b80| 6e 20 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |n exit t|o Hyperc|
|00001b90| 61 72 64 0d 65 6c 73 65 | 20 6e 65 78 74 20 72 65 |ard.else| next re|
|00001ba0| 70 65 61 74 0d 65 6c 73 | 65 20 69 66 20 73 74 72 |peat.els|e if str|
|00001bb0| 69 70 28 6c 6f 67 2c 63 | 64 6e 61 6d 65 29 20 69 |ip(log,c|dname) i|
|00001bc0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 70 6c 61 |s empty |then.pla|
|00001bd0| 79 20 68 61 72 70 73 69 | 63 68 6f 72 64 0d 61 6e |y harpsi|chord.an|
|00001be0| 73 77 65 72 20 22 44 4d | 20 6e 61 6d 65 73 20 6d |swer "DM| names m|
|00001bf0| 75 73 74 20 63 6f 6e 74 | 61 69 6e 20 61 74 20 6c |ust cont|ain at l|
|00001c00| 65 61 73 74 20 6f 6e 65 | 20 6e 6f 6e 2d 6e 75 6d |east one| non-num|
|00001c10| 65 72 69 63 20 63 68 61 | 72 61 63 74 65 72 21 22 |eric cha|racter!"|
|00001c20| 20 77 69 74 68 20 22 54 | 72 79 20 61 67 61 69 6e | with "T|ry again|
|00001c30| 22 20 6f 72 20 22 43 61 | 6e 63 65 6c 22 0d 69 66 |" or "Ca|ncel".if|
|00001c40| 20 69 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 | it is "|Cancel" |
|00001c50| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 48 79 70 |then exi|t to Hyp|
|00001c60| 65 72 63 61 72 64 0d 65 | 6c 73 65 20 6e 65 78 74 |ercard.e|lse next|
|00001c70| 20 72 65 70 65 61 74 0d | 65 6c 73 65 20 69 66 20 | repeat.|else if |
|00001c80| 63 64 6e 61 6d 65 20 69 | 73 20 69 6e 20 69 6e 64 |cdname i|s in ind|
|00001c90| 65 78 63 6f 6e 74 65 6e | 74 73 20 74 68 65 6e 0d |exconten|ts then.|
|00001ca0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00001cb0| 66 20 6c 69 6e 65 73 20 | 6f 66 20 69 6e 64 65 78 |f lines |of index|
|00001cc0| 63 6f 6e 74 65 6e 74 73 | 20 69 6e 74 6f 20 6c 69 |contents| into li|
|00001cd0| 6e 65 6e 75 6d 0d 72 65 | 70 65 61 74 20 77 69 74 |nenum.re|peat wit|
|00001ce0| 68 20 78 3d 31 20 74 6f | 20 6c 69 6e 65 6e 75 6d |h x=1 to| linenum|
|00001cf0| 0d 69 66 20 63 64 6e 61 | 6d 65 3d 6c 69 6e 65 20 |.if cdna|me=line |
|00001d00| 78 20 6f 66 20 69 6e 64 | 65 78 63 6f 6e 74 65 6e |x of ind|exconten|
|00001d10| 74 73 20 74 68 65 6e 0d | 70 6c 61 79 20 68 61 72 |ts then.|play har|
|00001d20| 70 73 69 63 68 6f 72 64 | 0d 61 6e 73 77 65 72 20 |psichord|.answer |
|00001d30| 22 53 6f 72 72 79 2c 20 | 61 6e 20 69 74 65 6d 20 |"Sorry, |an item |
|00001d40| 77 69 74 68 20 74 68 61 | 74 20 6e 61 6d 65 20 69 |with tha|t name i|
|00001d50| 73 20 61 6c 72 65 61 64 | 79 20 69 6e 20 74 68 65 |s alread|y in the|
|00001d60| 20 64 61 74 61 62 61 73 | 65 2e 22 20 77 69 74 68 | databas|e." with|
|00001d70| 20 22 54 72 79 20 61 67 | 61 69 6e 22 20 6f 72 20 | "Try ag|ain" or |
|00001d80| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 69 74 20 69 |"Cancel"|.if it i|
|00001d90| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00001da0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00001db0| 64 0d 65 6c 73 65 0d 70 | 75 74 20 65 6d 70 74 79 |d.else.p|ut empty|
|00001dc0| 20 69 6e 74 6f 20 72 65 | 73 75 6c 74 0d 65 78 69 | into re|sult.exi|
|00001dd0| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00001de0| 65 6c 73 65 20 69 66 20 | 78 3d 6c 69 6e 65 6e 75 |else if |x=linenu|
|00001df0| 6d 20 74 68 65 6e 20 70 | 75 74 20 22 4f 4b 22 20 |m then p|ut "OK" |
|00001e00| 69 6e 74 6f 20 72 65 73 | 75 6c 74 0d 65 6e 64 20 |into res|ult.end |
|00001e10| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 69 66 |repeat.e|nd if.if|
|00001e20| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 63 | the len|gth of c|
|00001e30| 64 6e 61 6d 65 3c 33 31 | 20 61 6e 64 20 72 65 73 |dname<31| and res|
|00001e40| 75 6c 74 3d 22 4f 4b 22 | 20 61 6e 64 20 73 74 72 |ult="OK"| and str|
|00001e50| 69 70 28 6c 6f 67 2c 63 | 64 6e 61 6d 65 29 3c 3e |ip(log,c|dname)<>|
|00001e60| 65 6d 70 74 79 c2 0d 61 | 6e 64 20 63 64 6e 61 6d |empty..a|nd cdnam|
|00001e70| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 2c 22 20 69 |e contai|ns "," i|
|00001e80| 73 20 66 61 6c 73 65 20 | 61 6e 64 20 63 64 6e 61 |s false |and cdna|
|00001e90| 6d 65 20 63 6f 6e 74 61 | 69 6e 73 20 71 75 6f 74 |me conta|ins quot|
|00001ea0| 65 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 20 |e is fal|se then |
|00001eb0| 70 75 74 20 22 4f 4b 22 | 20 69 6e 74 6f 20 64 6f |put "OK"| into do|
|00001ec0| 6e 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |ne.end r|epeat.re|
|00001ed0| 74 75 72 6e 20 63 64 6e | 61 6d 65 0d 65 6e 64 20 |turn cdn|ame.end |
|00001ee0| 63 68 65 63 6b 76 61 6c | 69 64 6e 61 6d 65 0d 0d |checkval|idname..|
|00001ef0| 6f 6e 20 6f 70 65 6e 63 | 61 72 64 0d 67 6c 6f 62 |on openc|ard.glob|
|00001f00| 61 6c 20 6f 6c 64 76 6f | 6c 2c 6f 6c 64 6e 61 6d |al oldvo|l,oldnam|
|00001f10| 65 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |e.if the| short n|
|00001f20| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|00001f30| 73 20 69 6e 20 63 64 20 | 66 6c 64 20 22 73 6f 6c |s in cd |fld "sol|
|00001f40| 75 74 69 6f 6e 69 6e 64 | 65 78 22 20 6f 66 20 63 |utionind|ex" of c|
|00001f50| 64 20 31 20 74 68 65 6e | 0d 70 75 74 20 62 67 20 |d 1 then|.put bg |
|00001f60| 66 6c 64 20 69 64 20 36 | 37 20 69 6e 74 6f 20 6f |fld id 6|7 into o|
|00001f70| 6c 64 76 6f 6c 0d 70 75 | 74 20 62 67 20 66 6c 64 |ldvol.pu|t bg fld|
|00001f80| 20 69 64 20 33 38 20 69 | 6e 74 6f 20 6f 6c 64 6e | id 38 i|nto oldn|
|00001f90| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6f |ame.end |if.end o|
|00001fa0| 70 65 6e 63 61 72 64 0d | 0d 6f 6e 20 64 65 6c 74 |pencard.|.on delt|
|00001fb0| 61 63 64 0d 69 66 20 75 | 73 65 72 6c 65 76 65 6c |acd.if u|serlevel|
|00001fc0| 3c 35 20 74 68 65 6e 0d | 70 6c 61 79 20 68 61 72 |<5 then.|play har|
|00001fd0| 70 73 69 63 68 6f 72 64 | 0d 65 78 69 74 20 74 6f |psichord|.exit to|
|00001fe0| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 69 | Hyperca|rd.end i|
|00001ff0| 66 0d 70 6c 61 79 20 68 | 61 72 70 73 69 63 68 6f |f.play h|arpsicho|
|00002000| 72 64 0d 61 6e 73 77 65 | 72 20 22 41 72 65 20 79 |rd.answe|r "Are y|
|00002010| 6f 75 20 73 75 72 65 20 | 74 68 61 74 20 79 6f 75 |ou sure |that you|
|00002020| 20 77 61 6e 74 20 74 6f | 20 64 65 6c 65 74 65 20 | want to| delete |
|00002030| 74 68 69 73 20 63 61 72 | 64 3f 22 20 77 69 74 68 |this car|d?" with|
|00002040| 20 22 44 65 6c 65 74 65 | 22 20 6f 72 20 22 43 61 | "Delete|" or "Ca|
|00002050| 6e 63 65 6c 22 0d 69 66 | 20 69 74 20 69 73 20 22 |ncel".if| it is "|
|00002060| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |Cancel" |then exi|
|00002070| 74 20 74 6f 20 48 79 70 | 65 72 63 61 72 64 0d 73 |t to Hyp|ercard.s|
|00002080| 65 74 20 6c 6f 63 6b 73 | 63 72 65 65 6e 20 74 6f |et locks|creen to|
|00002090| 20 74 72 75 65 0d 73 65 | 74 20 63 75 72 73 6f 72 | true.se|t cursor|
|000020a0| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 74 68 65 | to busy|.put the|
|000020b0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|000020c0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 68 6f 6c 64 |his cd i|nto hold|
|000020d0| 65 72 0d 67 65 74 20 73 | 65 61 72 63 68 20 28 63 |er.get s|earch (c|
|000020e0| 64 20 66 69 65 6c 64 20 | 22 73 6f 6c 75 74 69 6f |d field |"solutio|
|000020f0| 6e 69 6e 64 65 78 22 20 | 6f 66 20 63 64 20 31 2c |nindex" |of cd 1,|
|00002100| 68 6f 6c 64 65 72 2c 74 | 72 75 65 2c 66 69 72 73 |holder,t|rue,firs|
|00002110| 74 29 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |t).put i|tem 1 of|
|00002120| 20 69 74 20 69 6e 74 6f | 20 6c 69 6e 65 6e 75 6d | it into| linenum|
|00002130| 0d 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 6c 69 6e |.delete |line lin|
|00002140| 65 6e 75 6d 20 6f 66 20 | 63 64 20 66 69 65 6c 64 |enum of |cd field|
|00002150| 20 22 73 6f 6c 75 74 69 | 6f 6e 69 6e 64 65 78 22 | "soluti|onindex"|
|00002160| 20 6f 66 20 63 64 20 31 | 0d 6c 6f 63 6b 20 6d 65 | of cd 1|.lock me|
|00002170| 73 73 61 67 65 73 0d 64 | 6f 6d 65 6e 75 20 22 63 |ssages.d|omenu "c|
|00002180| 75 74 20 63 61 72 64 22 | 0d 67 6f 20 74 6f 20 63 |ut card"|.go to c|
|00002190| 64 20 69 64 20 33 39 30 | 37 0d 75 6e 6c 6f 63 6b |d id 390|7.unlock|
|000021a0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|000021b0| 75 61 6c 20 65 66 66 65 | 63 74 20 69 72 69 73 20 |ual effe|ct iris |
|000021c0| 63 6c 6f 73 65 0d 65 6e | 64 20 64 65 6c 74 61 63 |close.en|d deltac|
|000021d0| 64 0d 0d 6f 6e 20 63 68 | 61 6e 67 65 6e 61 6d 65 |d..on ch|angename|
|000021e0| 0d 67 65 74 20 73 65 61 | 72 63 68 28 63 64 20 66 |.get sea|rch(cd f|
|000021f0| 6c 64 20 22 73 6f 6c 75 | 74 69 6f 6e 69 6e 64 65 |ld "solu|tioninde|
|00002200| 78 22 20 6f 66 20 63 64 | 20 31 2c 74 68 65 20 73 |x" of cd| 1,the s|
|00002210| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00002220| 73 20 63 64 2c 74 72 75 | 65 2c 61 6c 6c 29 0d 64 |s cd,tru|e,all).d|
|00002230| 65 6c 65 74 65 20 6c 69 | 6e 65 20 69 74 65 6d 20 |elete li|ne item |
|00002240| 31 20 6f 66 20 69 74 20 | 6f 66 20 63 64 20 66 6c |1 of it |of cd fl|
|00002250| 64 20 22 73 6f 6c 75 74 | 69 6f 6e 69 6e 64 65 78 |d "solut|ionindex|
|00002260| 22 20 6f 66 20 63 64 20 | 31 0d 70 75 74 20 72 65 |" of cd |1.put re|
|00002270| 74 75 72 6e 26 6c 69 6e | 65 20 31 20 6f 66 20 62 |turn&lin|e 1 of b|
|00002280| 67 20 66 6c 64 20 69 64 | 20 33 38 20 61 66 74 65 |g fld id| 38 afte|
|00002290| 72 20 63 64 20 66 6c 64 | 20 22 73 6f 6c 75 74 69 |r cd fld| "soluti|
|000022a0| 6f 6e 69 6e 64 65 78 22 | 20 6f 66 20 63 64 20 31 |onindex"| of cd 1|
|000022b0| 0d 70 75 74 20 73 6f 72 | 74 66 69 65 6c 64 28 63 |.put sor|tfield(c|
|000022c0| 64 20 66 6c 64 20 22 73 | 6f 6c 75 74 69 6f 6e 69 |d fld "s|olutioni|
|000022d0| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 29 20 69 |ndex" of| cd 1) i|
|000022e0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 73 6f 6c 75 |nto cd f|ld "solu|
|000022f0| 74 69 6f 6e 69 6e 64 65 | 78 22 20 6f 66 20 63 64 |tioninde|x" of cd|
|00002300| 20 31 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 | 1.if li|ne 1 of |
|00002310| 63 64 20 66 6c 64 20 22 | 73 6f 6c 75 74 69 6f 6e |cd fld "|solution|
|00002320| 69 6e 64 65 78 22 20 6f | 66 20 63 64 20 31 20 69 |index" o|f cd 1 i|
|00002330| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 64 65 6c |s empty |then.del|
|00002340| 65 74 65 20 6c 69 6e 65 | 20 31 20 6f 66 20 63 64 |ete line| 1 of cd|
|00002350| 20 66 6c 64 20 22 73 6f | 6c 75 74 69 6f 6e 69 6e | fld "so|lutionin|
|00002360| 64 65 78 22 20 6f 66 20 | 63 64 20 31 0d 65 6e 64 |dex" of |cd 1.end|
|00002370| 20 69 66 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 | if.set |the name|
|00002380| 20 6f 66 20 74 68 69 73 | 20 63 64 20 74 6f 20 6c | of this| cd to l|
|00002390| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 1 of| bg fld |
|000023a0| 69 64 20 33 38 0d 6c 6f | 63 6b 74 68 69 6e 67 73 |id 38.lo|ckthings|
|000023b0| 0d 73 6f 72 74 20 61 73 | 63 65 6e 64 69 6e 67 20 |.sort as|cending |
|000023c0| 62 79 20 66 69 72 73 74 | 20 77 6f 72 64 20 6f 66 |by first| word of|
|000023d0| 20 66 69 72 73 74 20 6c | 69 6e 65 20 6f 66 20 62 | first l|ine of b|
|000023e0| 67 20 66 69 65 6c 64 20 | 69 64 20 33 38 0d 67 6f |g field |id 38.go|
|000023f0| 20 62 61 63 6b 0d 75 6e | 6c 6f 63 6b 74 68 69 6e | back.un|lockthin|
|00002400| 67 73 0d 65 6e 64 20 63 | 68 61 6e 67 65 6e 61 6d |gs.end c|hangenam|
|00002410| 65 0d 0d 6f 6e 20 65 78 | 70 6f 72 74 64 61 74 61 |e..on ex|portdata|
|00002420| 62 61 73 65 0d 67 6c 6f | 62 61 6c 20 57 4f 52 44 |base.glo|bal WORD|
|00002430| 50 52 4f 43 45 53 53 4f | 52 0d 69 66 20 77 6f 72 |PROCESSO|R.if wor|
|00002440| 64 70 72 6f 63 65 73 73 | 6f 72 3d 22 6d 69 63 72 |dprocess|or="micr|
|00002450| 6f 73 6f 66 74 20 77 6f | 72 64 22 20 74 68 65 6e |osoft wo|rd" then|
|00002460| 20 70 75 74 20 4d 53 57 | 44 20 69 6e 74 6f 20 66 | put MSW|D into f|
|00002470| 69 6c 65 43 72 65 61 74 | 6f 72 0d 65 6c 73 65 20 |ileCreat|or.else |
|00002480| 70 75 74 20 4d 41 43 41 | 20 69 6e 74 6f 20 66 69 |put MACA| into fi|
|00002490| 6c 65 63 72 65 61 74 6f | 72 0d 73 65 74 20 74 68 |lecreato|r.set th|
|000024a0| 65 20 63 61 6e 74 61 62 | 6f 72 74 20 6f 66 20 74 |e cantab|ort of t|
|000024b0| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 74 72 75 |his stac|k to tru|
|000024c0| 65 0d 70 75 74 20 74 68 | 65 20 73 68 6f 72 74 20 |e.put th|e short |
|000024d0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|000024e0| 69 6e 74 6f 20 63 64 6e | 61 6d 65 0d 70 75 74 20 |into cdn|ame.put |
|000024f0| 22 52 65 61 67 65 6e 74 | 73 20 44 61 74 61 62 61 |"Reagent|s Databa|
|00002500| 73 65 2e 52 54 46 22 20 | 69 6e 74 6f 20 66 69 6c |se.RTF" |into fil|
|00002510| 65 6e 61 6d 65 0d 70 75 | 74 20 63 64 20 66 6c 64 |ename.pu|t cd fld|
|00002520| 20 22 53 6f 6c 75 74 69 | 6f 6e 69 6e 64 65 78 22 | "Soluti|onindex"|
|00002530| 20 6f 66 20 63 64 20 31 | 20 69 6e 74 6f 20 69 6e | of cd 1| into in|
|00002540| 64 65 78 63 6f 6e 74 65 | 6e 74 73 0d 70 75 74 20 |dexconte|nts.put |
|00002550| 65 6d 70 74 79 20 69 6e | 74 6f 20 68 6f 6c 64 65 |empty in|to holde|
|00002560| 72 0d 57 72 69 74 65 54 | 6f 46 69 6c 65 20 68 6f |r.WriteT|oFile ho|
|00002570| 6c 64 65 72 2c 66 61 6c | 73 65 2c 66 69 6c 65 6e |lder,fal|se,filen|
|00002580| 61 6d 65 2c 66 61 6c 73 | 65 2c 66 69 6c 65 43 72 |ame,fals|e,fileCr|
|00002590| 65 61 74 6f 72 0d 69 66 | 20 74 68 65 20 72 65 73 |eator.if| the res|
|000025a0| 75 6c 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 |ult is "|Cancel" |
|000025b0| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 48 79 70 |then exi|t to Hyp|
|000025c0| 65 72 63 61 72 64 0d 70 | 75 74 20 74 68 65 20 72 |ercard.p|ut the r|
|000025d0| 65 73 75 6c 74 20 69 6e | 74 6f 20 66 69 6c 65 6e |esult in|to filen|
|000025e0| 61 6d 65 0d 6c 6f 63 6b | 74 68 69 6e 67 73 0d 70 |ame.lock|things.p|
|000025f0| 72 6f 67 72 65 73 73 20 | 22 45 78 70 6f 72 74 69 |rogress |"Exporti|
|00002600| 6e 67 20 52 65 61 67 65 | 6e 74 73 20 64 61 74 61 |ng Reage|nts data|
|00002610| 62 61 73 65 2e 2e 2e 22 | 0d 70 75 74 20 74 68 65 |base..."|.put the|
|00002620| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 69 | number |of cds i|
|00002630| 6e 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |n this s|tack int|
|00002640| 6f 20 74 6f 74 6e 75 6d | 0d 72 65 70 65 61 74 20 |o totnum|.repeat |
|00002650| 77 69 74 68 20 78 3d 31 | 20 74 6f 20 74 6f 74 6e |with x=1| to totn|
|00002660| 75 6d 0d 69 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |um.if th|e comman|
|00002670| 64 6b 65 79 20 69 73 20 | 64 6f 77 6e 20 74 68 65 |dkey is |down the|
|00002680| 6e 20 61 62 6f 72 74 65 | 78 70 6f 72 74 20 63 64 |n aborte|xport cd|
|00002690| 6e 61 6d 65 0d 70 72 6f | 67 72 65 73 73 20 31 30 |name.pro|gress 10|
|000026a0| 30 2a 28 78 2f 74 6f 74 | 6e 75 6d 29 0d 67 6f 20 |0*(x/tot|num).go |
|000026b0| 74 6f 20 63 64 20 78 0d | 69 66 20 74 68 65 20 73 |to cd x.|if the s|
|000026c0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000026d0| 73 20 63 64 20 69 73 20 | 69 6e 20 69 6e 64 65 78 |s cd is |in index|
|000026e0| 63 6f 6e 74 65 6e 74 73 | 20 74 68 65 6e 0d 70 75 |contents| then.pu|
|000026f0| 74 20 66 69 65 6c 64 54 | 6f 52 54 46 28 66 61 6c |t fieldT|oRTF(fal|
|00002700| 73 65 2c 22 73 6f 6c 6e | 6e 61 6d 65 22 29 20 69 |se,"soln|name") i|
|00002710| 6e 74 6f 20 68 6f 6c 64 | 65 72 0d 64 65 6c 65 74 |nto hold|er.delet|
|00002720| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 68 |e last c|har of h|
|00002730| 6f 6c 64 65 72 0d 70 75 | 74 20 22 5c 70 61 72 5c |older.pu|t "\par\|
|00002740| 70 61 72 5c 74 61 62 5c | 40 5c 70 61 72 22 20 61 |par\tab\|@\par" a|
|00002750| 66 74 65 72 20 68 6f 6c | 64 65 72 0d 70 75 74 20 |fter hol|der.put |
|00002760| 66 69 65 6c 64 54 6f 52 | 54 46 28 66 61 6c 73 65 |fieldToR|TF(false|
|00002770| 2c 22 76 6f 6c 22 29 20 | 61 66 74 65 72 20 68 6f |,"vol") |after ho|
|00002780| 6c 64 65 72 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |lder.del|ete last|
|00002790| 20 63 68 61 72 20 6f 66 | 20 68 6f 6c 64 65 72 0d | char of| holder.|
|000027a0| 70 75 74 20 22 5c 70 61 | 72 5c 70 61 72 5c 74 61 |put "\pa|r\par\ta|
|000027b0| 62 5c 40 5c 70 61 72 22 | 20 61 66 74 65 72 20 68 |b\@\par"| after h|
|000027c0| 6f 6c 64 65 72 0d 70 75 | 74 20 66 69 65 6c 64 54 |older.pu|t fieldT|
|000027d0| 6f 52 54 46 28 66 61 6c | 73 65 2c 22 64 61 74 61 |oRTF(fal|se,"data|
|000027e0| 22 29 20 61 66 74 65 72 | 20 68 6f 6c 64 65 72 0d |") after| holder.|
|000027f0| 64 65 6c 65 74 65 20 6c | 61 73 74 20 63 68 61 72 |delete l|ast char|
|00002800| 20 6f 66 20 68 6f 6c 64 | 65 72 0d 70 75 74 20 22 | of hold|er.put "|
|00002810| 5c 70 61 72 5c 70 61 72 | 5c 74 61 62 5c 40 5c 70 |\par\par|\tab\@\p|
|00002820| 61 72 22 20 61 66 74 65 | 72 20 68 6f 6c 64 65 72 |ar" afte|r holder|
|00002830| 0d 70 75 74 20 66 69 65 | 6c 64 54 6f 52 54 46 28 |.put fie|ldToRTF(|
|00002840| 66 61 6c 73 65 2c 22 6e | 6f 74 65 73 22 29 20 61 |false,"n|otes") a|
|00002850| 66 74 65 72 20 68 6f 6c | 64 65 72 0d 64 65 6c 65 |fter hol|der.dele|
|00002860| 74 65 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |te last |char of |
|00002870| 68 6f 6c 64 65 72 0d 70 | 75 74 20 22 5c 70 61 72 |holder.p|ut "\par|
|00002880| 5c 70 61 72 5c 74 61 62 | 5c 40 5c 70 61 72 22 20 |\par\tab|\@\par" |
|00002890| 61 66 74 65 72 20 68 6f | 6c 64 65 72 0d 70 75 74 |after ho|lder.put|
|000028a0| 20 66 69 65 6c 64 54 6f | 52 54 46 28 66 61 6c 73 | fieldTo|RTF(fals|
|000028b0| 65 2c 22 64 61 74 65 22 | 29 20 61 66 74 65 72 20 |e,"date"|) after |
|000028c0| 68 6f 6c 64 65 72 0d 64 | 65 6c 65 74 65 20 6c 61 |holder.d|elete la|
|000028d0| 73 74 20 63 68 61 72 20 | 6f 66 20 68 6f 6c 64 65 |st char |of holde|
|000028e0| 72 0d 70 75 74 20 22 5c | 70 61 72 5c 70 61 72 5c |r.put "\|par\par\|
|000028f0| 74 61 62 5c 40 5c 70 61 | 72 22 20 61 66 74 65 72 |tab\@\pa|r" after|
|00002900| 20 68 6f 6c 64 65 72 0d | 57 72 69 74 65 54 6f 46 | holder.|WriteToF|
|00002910| 69 6c 65 20 68 6f 6c 64 | 65 72 2c 74 72 75 65 2c |ile hold|er,true,|
|00002920| 66 69 6c 65 6e 61 6d 65 | 2c 74 72 75 65 2c 46 69 |filename|,true,Fi|
|00002930| 6c 65 63 72 65 61 74 6f | 72 0d 65 6e 64 20 69 66 |lecreato|r.end if|
|00002940| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00002950| 22 23 23 23 5c 70 61 72 | 22 20 69 6e 74 6f 20 68 |"###\par|" into h|
|00002960| 6f 6c 64 65 72 0d 57 72 | 69 74 65 54 6f 46 69 6c |older.Wr|iteToFil|
|00002970| 65 20 68 6f 6c 64 65 72 | 2c 74 72 75 65 2c 66 69 |e holder|,true,fi|
|00002980| 6c 65 6e 61 6d 65 2c 74 | 72 75 65 2c 46 69 6c 65 |lename,t|rue,File|
|00002990| 63 72 65 61 74 6f 72 0d | 70 72 6f 67 72 65 73 73 |creator.|progress|
|000029a0| 20 64 69 73 6d 69 73 73 | 0d 70 6c 61 79 20 68 61 | dismiss|.play ha|
|000029b0| 72 70 73 69 63 68 6f 72 | 64 0d 67 6f 20 74 6f 20 |rpsichor|d.go to |
|000029c0| 63 64 20 63 64 6e 61 6d | 65 0d 73 65 74 20 74 68 |cd cdnam|e.set th|
|000029d0| 65 20 63 61 6e 74 61 62 | 6f 72 74 20 6f 66 20 74 |e cantab|ort of t|
|000029e0| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 66 61 6c |his stac|k to fal|
|000029f0| 73 65 0d 41 6e 73 77 65 | 72 20 22 44 6f 6e 65 21 |se.Answe|r "Done!|
|00002a00| 21 21 20 44 6f 20 77 61 | 6e 74 20 74 6f 20 73 65 |!! Do wa|nt to se|
|00002a10| 65 20 74 68 65 20 65 78 | 70 6f 72 74 65 64 20 66 |e the ex|ported f|
|00002a20| 69 6c 65 3f 22 20 77 69 | 74 68 20 22 59 65 73 22 |ile?" wi|th "Yes"|
|00002a30| 20 6f 72 20 22 4e 6f 22 | 0d 69 66 20 69 74 20 69 | or "No"|.if it i|
|00002a40| 73 20 22 79 65 73 22 20 | 74 68 65 6e 0d 67 65 74 |s "yes" |then.get|
|00002a50| 20 49 73 52 75 6e 6e 69 | 6e 67 28 57 4f 52 44 50 | IsRunni|ng(WORDP|
|00002a60| 52 4f 43 45 53 53 4f 52 | 29 0d 69 66 20 69 74 20 |ROCESSOR|).if it |
|00002a70| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 20 6f 70 |is false| then op|
|00002a80| 65 6e 20 66 69 6c 65 6e | 61 6d 65 20 77 69 74 68 |en filen|ame with|
|00002a90| 20 57 4f 52 44 50 52 4f | 43 45 53 53 4f 52 0d 65 | WORDPRO|CESSOR.e|
|00002aa0| 6c 73 65 0d 70 6c 61 79 | 20 68 61 72 70 73 69 63 |lse.play| harpsic|
|00002ab0| 68 6f 72 64 0d 61 6e 73 | 77 65 72 20 22 49 6e 20 |hord.ans|wer "In |
|00002ac0| 22 26 57 4f 52 44 50 52 | 4f 43 45 53 53 4f 52 26 |"&WORDPR|OCESSOR&|
|00002ad0| 22 20 6f 70 65 6e 20 22 | 26 74 68 65 46 69 6c 65 |" open "|&theFile|
|00002ae0| 26 22 20 75 73 69 6e 67 | 20 74 68 65 20 66 69 6c |&" using| the fil|
|00002af0| 65 6d 65 6e 75 2e 22 0d | 43 6c 65 61 6e 45 78 69 |emenu.".|CleanExi|
|00002b00| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |t.end if|.end if.|
|00002b10| 0d 65 6e 64 20 65 78 70 | 6f 72 74 64 61 74 61 62 |.end exp|ortdatab|
|00002b20| 61 73 65 0d 0d 6f 6e 20 | 69 6d 70 6f 72 74 64 61 |ase..on |importda|
|00002b30| 74 61 62 61 73 65 0d 67 | 6c 6f 62 61 6c 20 6e 61 |tabase.g|lobal na|
|00002b40| 6d 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |me.put e|mpty int|
|00002b50| 6f 20 6e 61 6d 65 68 6f | 6c 64 65 72 0d 61 6e 73 |o nameho|lder.ans|
|00002b60| 77 65 72 20 22 41 72 65 | 20 79 6f 75 20 69 6d 70 |wer "Are| you imp|
|00002b70| 6f 72 74 69 6e 67 20 61 | 6e 20 52 54 46 20 66 69 |orting a|n RTF fi|
|00002b80| 6c 65 3f 22 20 77 69 74 | 68 20 22 59 65 73 22 20 |le?" wit|h "Yes" |
|00002b90| 6f 72 20 22 4e 6f 22 20 | 6f 72 20 22 43 61 6e 63 |or "No" |or "Canc|
|00002ba0| 65 6c 22 0d 69 66 20 69 | 74 20 69 73 20 22 63 61 |el".if i|t is "ca|
|00002bb0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|00002bc0| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 65 6c 73 |to Hyper|card.els|
|00002bd0| 65 20 69 66 20 69 74 20 | 69 73 20 22 59 65 73 22 |e if it |is "Yes"|
|00002be0| 20 74 68 65 6e 20 70 75 | 74 20 65 6d 70 74 79 20 | then pu|t empty |
|00002bf0| 69 6e 74 6f 20 72 74 66 | 63 6f 64 65 0d 65 6c 73 |into rtf|code.els|
|00002c00| 65 20 70 75 74 20 63 64 | 20 66 6c 64 20 22 72 74 |e put cd| fld "rt|
|00002c10| 66 22 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |f" of cd| 1 into |
|00002c20| 72 74 66 63 6f 64 65 0d | 70 75 74 20 74 68 65 20 |rtfcode.|put the |
|00002c30| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00002c40| 69 73 20 63 64 20 69 6e | 74 6f 20 63 64 6e 61 6d |is cd in|to cdnam|
|00002c50| 65 0d 73 65 74 20 74 68 | 65 20 63 61 6e 74 61 62 |e.set th|e cantab|
|00002c60| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|00002c70| 6b 20 74 6f 20 74 72 75 | 65 0d 67 65 74 20 73 74 |k to tru|e.get st|
|00002c80| 61 6e 64 61 72 64 46 69 | 6c 65 28 22 67 65 74 3a |andardFi|le("get:|
|00002c90| 4f 70 65 6e 22 2c 54 45 | 58 54 2c 57 44 42 4e 29 |Open",TE|XT,WDBN)|
|00002ca0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 66 69 6c |.put it |into fil|
|00002cb0| 65 74 6f 6f 70 65 6e 0d | 69 66 20 66 69 6c 65 74 |etoopen.|if filet|
|00002cc0| 6f 6f 70 65 6e 20 69 73 | 20 65 6d 70 74 79 20 74 |oopen is| empty t|
|00002cd0| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 48 79 70 65 |hen exit| to Hype|
|00002ce0| 72 63 61 72 64 0d 6c 6f | 63 6b 74 68 69 6e 67 73 |rcard.lo|ckthings|
|00002cf0| 0d 67 6f 20 74 6f 20 63 | 64 20 22 73 6f 6c 75 74 |.go to c|d "solut|
|00002d00| 69 6f 6e 73 22 0d 6f 70 | 65 6e 20 66 69 6c 65 20 |ions".op|en file |
|00002d10| 66 69 6c 65 74 6f 6f 70 | 65 6e 0d 72 65 61 64 20 |filetoop|en.read |
|00002d20| 66 72 6f 6d 20 66 69 6c | 65 20 66 69 6c 65 74 6f |from fil|e fileto|
|00002d30| 6f 70 65 6e 20 75 6e 74 | 69 6c 20 65 6e 64 0d 63 |open unt|il end.c|
|00002d40| 6c 6f 73 65 20 66 69 6c | 65 20 66 69 6c 65 74 6f |lose fil|e fileto|
|00002d50| 6f 70 65 6e 0d 69 66 20 | 69 74 20 69 73 20 65 6d |open.if |it is em|
|00002d60| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |pty then| exit to|
|00002d70| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6c 73 65 20 | Hyperca|rd.else |
|00002d80| 70 75 74 20 6c 65 6e 67 | 74 68 28 65 78 74 72 61 |put leng|th(extra|
|00002d90| 63 74 28 22 40 22 2c 69 | 74 29 29 2f 35 20 69 6e |ct("@",i|t))/5 in|
|00002da0| 74 6f 20 74 6f 74 6e 75 | 6d 0d 69 66 20 74 6f 74 |to totnu|m.if tot|
|00002db0| 6e 75 6d 3c 3e 72 6f 75 | 6e 64 28 74 6f 74 6e 75 |num<>rou|nd(totnu|
|00002dc0| 6d 29 20 74 68 65 6e 0d | 70 6c 61 79 20 68 61 72 |m) then.|play har|
|00002dd0| 70 73 69 63 68 6f 72 64 | 0d 61 6e 73 77 65 72 20 |psichord|.answer |
|00002de0| 22 49 6e 63 6f 72 72 65 | 63 74 20 6e 75 6d 62 65 |"Incorre|ct numbe|
|00002df0| 72 20 6f 66 20 66 69 65 | 6c 64 73 20 73 70 65 63 |r of fie|lds spec|
|00002e00| 69 66 69 65 64 20 69 6e | 20 69 6e 70 75 74 20 66 |ified in| input f|
|00002e10| 69 6c 65 2e 22 0d 65 78 | 69 74 20 74 6f 20 48 79 |ile.".ex|it to Hy|
|00002e20| 70 65 72 63 61 72 64 0d | 65 6e 64 20 69 66 0d 70 |percard.|end if.p|
|00002e30| 75 74 20 30 20 69 6e 74 | 6f 20 63 6f 75 6e 74 65 |ut 0 int|o counte|
|00002e40| 72 0d 70 72 6f 67 72 65 | 73 73 20 22 49 6d 70 6f |r.progre|ss "Impo|
|00002e50| 72 74 69 6e 67 20 72 65 | 61 67 65 6e 74 20 64 61 |rting re|agent da|
|00002e60| 74 61 2e 2e 2e 22 0d 0d | 6f 70 65 6e 20 66 69 6c |ta..."..|open fil|
|00002e70| 65 20 66 69 6c 65 74 6f | 6f 70 65 6e 0d 72 65 61 |e fileto|open.rea|
|00002e80| 64 20 66 72 6f 6d 20 66 | 69 6c 65 20 66 69 6c 65 |d from f|ile file|
|00002e90| 74 6f 6f 70 65 6e 20 75 | 6e 74 69 6c 20 22 40 22 |toopen u|ntil "@"|
|00002ea0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 69 74 |.repeat |until it|
|00002eb0| 20 63 6f 6e 74 61 69 6e | 73 20 22 23 23 23 22 0d | contain|s "###".|
|00002ec0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00002ed0| 73 79 0d 69 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |sy.if th|e comman|
|00002ee0| 64 6b 65 79 20 69 73 20 | 64 6f 77 6e 20 74 68 65 |dkey is |down the|
|00002ef0| 6e 20 61 62 6f 72 74 64 | 62 20 6e 61 6d 65 68 6f |n abortd|b nameho|
|00002f00| 6c 64 65 72 2c 63 64 6e | 61 6d 65 0d 64 6f 6d 65 |lder,cdn|ame.dome|
|00002f10| 6e 75 20 22 6e 65 77 20 | 63 61 72 64 22 0d 67 65 |nu "new |card".ge|
|00002f20| 74 20 52 54 46 54 6f 46 | 69 65 6c 64 28 69 74 2c |t RTFToF|ield(it,|
|00002f30| 66 61 6c 73 65 2c 22 73 | 6f 6c 6e 6e 61 6d 65 22 |false,"s|olnname"|
|00002f40| 29 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 6c |).repeat| until l|
|00002f50| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 1 of| bg fld |
|00002f60| 22 73 6f 6c 6e 6e 61 6d | 65 22 20 3c 3e 65 6d 70 |"solnnam|e" <>emp|
|00002f70| 74 79 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |ty.delet|e line 1|
|00002f80| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 73 6f 6c 6e | of bg f|ld "soln|
|00002f90| 6e 61 6d 65 22 0d 65 6e | 64 20 72 65 70 65 61 74 |name".en|d repeat|
|00002fa0| 0d 70 75 74 20 73 74 72 | 69 70 28 22 40 22 2c 6c |.put str|ip("@",l|
|00002fb0| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 1 of| bg fld |
|00002fc0| 22 73 6f 6c 6e 6e 61 6d | 65 22 29 20 69 6e 74 6f |"solnnam|e") into|
|00002fd0| 20 62 67 20 66 6c 64 20 | 22 73 6f 6c 6e 6e 61 6d | bg fld |"solnnam|
|00002fe0| 65 22 0d 70 75 74 20 6c | 69 6e 65 20 31 20 6f 66 |e".put l|ine 1 of|
|00002ff0| 20 62 67 20 66 6c 64 20 | 22 73 6f 6c 6e 6e 61 6d | bg fld |"solnnam|
|00003000| 65 22 20 69 6e 74 6f 20 | 6e 61 6d 65 0d 2d 2d 63 |e" into |name.--c|
|00003010| 68 65 63 6b 20 66 6f 72 | 20 76 61 6c 69 64 20 48 |heck for| valid H|
|00003020| 43 20 63 61 72 64 20 6e | 61 6d 65 73 0d 63 68 65 |C card n|ames.che|
|00003030| 63 6b 49 74 65 6d 4e 61 | 6d 65 20 22 73 6f 6c 75 |ckItemNa|me "solu|
|00003040| 74 69 6f 6e 69 6e 64 65 | 78 22 2c 6e 61 6d 65 68 |tioninde|x",nameh|
|00003050| 6f 6c 64 65 72 0d 2d 2d | 0d 0d 69 66 20 6e 61 6d |older.--|..if nam|
|00003060| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00003070| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |hen.set |the name|
|00003080| 20 6f 66 20 74 68 69 73 | 20 63 64 20 74 6f 20 6e | of this| cd to n|
|00003090| 61 6d 65 0d 70 75 74 20 | 6e 61 6d 65 20 69 6e 74 |ame.put |name int|
|000030a0| 6f 20 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 |o line 1| of bg f|
|000030b0| 6c 64 20 22 73 6f 6c 6e | 6e 61 6d 65 22 0d 70 75 |ld "soln|name".pu|
|000030c0| 74 20 6e 61 6d 65 26 72 | 65 74 75 72 6e 20 61 66 |t name&r|eturn af|
|000030d0| 74 65 72 20 6e 61 6d 65 | 68 6f 6c 64 65 72 0d 72 |ter name|holder.r|
|000030e0| 65 61 64 20 66 72 6f 6d | 20 66 69 6c 65 20 66 69 |ead from| file fi|
|000030f0| 6c 65 74 6f 6f 70 65 6e | 20 75 6e 74 69 6c 20 22 |letoopen| until "|
|00003100| 40 22 0d 70 75 74 20 72 | 74 66 63 6f 64 65 20 62 |@".put r|tfcode b|
|00003110| 65 66 6f 72 65 20 69 74 | 0d 67 65 74 20 52 54 46 |efore it|.get RTF|
|00003120| 54 6f 46 69 65 6c 64 28 | 69 74 2c 66 61 6c 73 65 |ToField(|it,false|
|00003130| 2c 22 76 6f 6c 22 29 0d | 64 65 6c 65 74 65 20 6c |,"vol").|delete l|
|00003140| 61 73 74 20 63 68 61 72 | 20 6f 66 20 62 67 20 66 |ast char| of bg f|
|00003150| 6c 64 20 22 76 6f 6c 22 | 0d 69 66 20 63 68 61 72 |ld "vol"|.if char|
|00003160| 74 6f 6e 75 6d 28 63 68 | 61 72 20 31 20 6f 66 20 |tonum(ch|ar 1 of |
|00003170| 62 67 20 66 6c 64 20 22 | 76 6f 6c 22 29 3d 39 20 |bg fld "|vol")=9 |
|00003180| 74 68 65 6e 20 64 65 6c | 65 74 65 20 63 68 61 72 |then del|ete char|
|00003190| 20 31 20 6f 66 20 62 67 | 20 66 6c 64 20 22 76 6f | 1 of bg| fld "vo|
|000031a0| 6c 22 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |l".repea|t until |
|000031b0| 6c 69 6e 65 20 31 20 6f | 66 20 62 67 20 66 6c 64 |line 1 o|f bg fld|
|000031c0| 20 22 76 6f 6c 22 20 3c | 3e 65 6d 70 74 79 0d 64 | "vol" <|>empty.d|
|000031d0| 65 6c 65 74 65 20 6c 69 | 6e 65 20 31 20 6f 66 20 |elete li|ne 1 of |
|000031e0| 62 67 20 66 6c 64 20 22 | 76 6f 6c 22 0d 65 6e 64 |bg fld "|vol".end|
|000031f0| 20 72 65 70 65 61 74 0d | 72 65 61 64 20 66 72 6f | repeat.|read fro|
|00003200| 6d 20 66 69 6c 65 20 66 | 69 6c 65 74 6f 6f 70 65 |m file f|iletoope|
|00003210| 6e 20 75 6e 74 69 6c 20 | 22 40 22 0d 70 75 74 20 |n until |"@".put |
|00003220| 72 74 66 63 6f 64 65 20 | 62 65 66 6f 72 65 20 69 |rtfcode |before i|
|00003230| 74 0d 67 65 74 20 52 54 | 46 54 6f 46 69 65 6c 64 |t.get RT|FToField|
|00003240| 28 69 74 2c 66 61 6c 73 | 65 2c 22 64 61 74 61 22 |(it,fals|e,"data"|
|00003250| 29 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 6c |).repeat| until l|
|00003260| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 1 of| bg fld |
|00003270| 22 64 61 74 61 22 20 3c | 3e 65 6d 70 74 79 0d 64 |"data" <|>empty.d|
|00003280| 65 6c 65 74 65 20 6c 69 | 6e 65 20 31 20 6f 66 20 |elete li|ne 1 of |
|00003290| 62 67 20 66 6c 64 20 22 | 64 61 74 61 22 0d 65 6e |bg fld "|data".en|
|000032a0| 64 20 72 65 70 65 61 74 | 0d 64 65 6c 65 74 65 20 |d repeat|.delete |
|000032b0| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 62 67 20 |last cha|r of bg |
|000032c0| 66 6c 64 20 22 64 61 74 | 61 22 0d 72 65 61 64 20 |fld "dat|a".read |
|000032d0| 66 72 6f 6d 20 66 69 6c | 65 20 66 69 6c 65 74 6f |from fil|e fileto|
|000032e0| 6f 70 65 6e 20 75 6e 74 | 69 6c 20 22 40 22 0d 70 |open unt|il "@".p|
|000032f0| 75 74 20 72 74 66 63 6f | 64 65 20 62 65 66 6f 72 |ut rtfco|de befor|
|00003300| 65 20 69 74 0d 67 65 74 | 20 52 54 46 54 6f 46 69 |e it.get| RTFToFi|
|00003310| 65 6c 64 28 69 74 2c 66 | 61 6c 73 65 2c 22 6e 6f |eld(it,f|alse,"no|
|00003320| 74 65 73 22 29 0d 72 65 | 70 65 61 74 20 75 6e 74 |tes").re|peat unt|
|00003330| 69 6c 20 6c 69 6e 65 20 | 31 20 6f 66 20 62 67 20 |il line |1 of bg |
|00003340| 66 6c 64 20 22 6e 6f 74 | 65 73 22 20 3c 3e 65 6d |fld "not|es" <>em|
|00003350| 70 74 79 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |pty.dele|te line |
|00003360| 31 20 6f 66 20 62 67 20 | 66 6c 64 20 22 6e 6f 74 |1 of bg |fld "not|
|00003370| 65 73 22 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 64 |es".end |repeat.d|
|00003380| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00003390| 6f 66 20 62 67 20 66 6c | 64 20 22 6e 6f 74 65 73 |of bg fl|d "notes|
|000033a0| 22 0d 72 65 61 64 20 66 | 72 6f 6d 20 66 69 6c 65 |".read f|rom file|
|000033b0| 20 66 69 6c 65 74 6f 6f | 70 65 6e 20 75 6e 74 69 | filetoo|pen unti|
|000033c0| 6c 20 22 40 22 0d 70 75 | 74 20 72 74 66 63 6f 64 |l "@".pu|t rtfcod|
|000033d0| 65 20 62 65 66 6f 72 65 | 20 69 74 0d 67 65 74 20 |e before| it.get |
|000033e0| 52 54 46 54 6f 46 69 65 | 6c 64 28 69 74 2c 66 61 |RTFToFie|ld(it,fa|
|000033f0| 6c 73 65 2c 22 64 61 74 | 65 22 29 0d 72 65 70 65 |lse,"dat|e").repe|
|00003400| 61 74 20 75 6e 74 69 6c | 20 6c 69 6e 65 20 31 20 |at until| line 1 |
|00003410| 6f 66 20 62 67 20 66 6c | 64 20 22 64 61 74 65 22 |of bg fl|d "date"|
|00003420| 20 3c 3e 65 6d 70 74 79 | 0d 64 65 6c 65 74 65 20 | <>empty|.delete |
|00003430| 6c 69 6e 65 20 31 20 6f | 66 20 62 67 20 66 6c 64 |line 1 o|f bg fld|
|00003440| 20 22 64 61 74 65 22 0d | 65 6e 64 20 72 65 70 65 | "date".|end repe|
|00003450| 61 74 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |at.delet|e last c|
|00003460| 68 61 72 20 6f 66 20 62 | 67 20 66 6c 64 20 22 64 |har of b|g fld "d|
|00003470| 61 74 65 22 0d 65 6c 73 | 65 0d 72 65 70 65 61 74 |ate".els|e.repeat|
|00003480| 20 34 20 74 69 6d 65 73 | 0d 72 65 61 64 20 66 72 | 4 times|.read fr|
|00003490| 6f 6d 20 66 69 6c 65 20 | 66 69 6c 65 74 6f 6f 70 |om file |filetoop|
|000034a0| 65 6e 20 75 6e 74 69 6c | 20 22 40 22 0d 65 6e 64 |en until| "@".end|
|000034b0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 61 | repeat.|end if.a|
|000034c0| 64 64 20 31 20 74 6f 20 | 63 6f 75 6e 74 65 72 0d |dd 1 to |counter.|
|000034d0| 70 72 6f 67 72 65 73 73 | 20 31 30 30 2a 63 6f 75 |progress| 100*cou|
|000034e0| 6e 74 65 72 2f 74 6f 74 | 6e 75 6d 0d 72 65 61 64 |nter/tot|num.read|
|000034f0| 20 66 72 6f 6d 20 66 69 | 6c 65 20 66 69 6c 65 74 | from fi|le filet|
|00003500| 6f 6f 70 65 6e 20 75 6e | 74 69 6c 20 22 40 22 0d |oopen un|til "@".|
|00003510| 70 75 74 20 72 74 66 63 | 6f 64 65 20 62 65 66 6f |put rtfc|ode befo|
|00003520| 72 65 20 69 74 0d 65 6e | 64 20 72 65 70 65 61 74 |re it.en|d repeat|
|00003530| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 66 69 6c 65 |.close f|ile file|
|00003540| 74 6f 6f 70 65 6e 0d 70 | 75 74 20 72 65 74 75 72 |toopen.p|ut retur|
|00003550| 6e 26 6e 61 6d 65 68 6f | 6c 64 65 72 20 61 66 74 |n&nameho|lder aft|
|00003560| 65 72 20 63 64 20 66 6c | 64 20 22 73 6f 6c 75 74 |er cd fl|d "solut|
|00003570| 69 6f 6e 69 6e 64 65 78 | 22 20 6f 66 20 63 64 20 |ionindex|" of cd |
|00003580| 31 0d 70 75 74 20 73 6f | 72 74 66 69 65 6c 64 28 |1.put so|rtfield(|
|00003590| 63 64 20 66 6c 64 20 22 | 73 6f 6c 75 74 69 6f 6e |cd fld "|solution|
|000035a0| 69 6e 64 65 78 22 20 6f | 66 20 63 64 20 31 29 20 |index" o|f cd 1) |
|000035b0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 73 6f 6c |into cd |fld "sol|
|000035c0| 75 74 69 6f 6e 69 6e 64 | 65 78 22 20 6f 66 20 63 |utionind|ex" of c|
|000035d0| 64 20 31 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |d 1.if l|ine 1 of|
|000035e0| 20 63 64 20 66 6c 64 20 | 22 73 6f 6c 75 74 69 6f | cd fld |"solutio|
|000035f0| 6e 69 6e 64 65 78 22 20 | 6f 66 20 63 64 20 31 20 |nindex" |of cd 1 |
|00003600| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 64 65 |is empty| then.de|
|00003610| 6c 65 74 65 20 6c 69 6e | 65 20 31 20 6f 66 20 63 |lete lin|e 1 of c|
|00003620| 64 20 66 6c 64 20 22 73 | 6f 6c 75 74 69 6f 6e 69 |d fld "s|olutioni|
|00003630| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 0d 65 6e |ndex" of| cd 1.en|
|00003640| 64 20 69 66 0d 73 6f 72 | 74 20 61 73 63 65 6e 64 |d if.sor|t ascend|
|00003650| 69 6e 67 20 62 79 20 62 | 67 20 66 6c 64 20 31 0d |ing by b|g fld 1.|
|00003660| 67 6f 20 74 6f 20 63 64 | 20 63 64 6e 61 6d 65 0d |go to cd| cdname.|
|00003670| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 6e |put empt|y into n|
|00003680| 61 6d 65 0d 70 72 6f 67 | 72 65 73 73 20 64 69 73 |ame.prog|ress dis|
|00003690| 6d 69 73 73 0d 73 65 74 | 20 74 68 65 20 63 61 6e |miss.set| the can|
|000036a0| 74 61 62 6f 72 74 20 6f | 66 20 74 68 69 73 20 73 |tabort o|f this s|
|000036b0| 74 61 63 6b 20 74 6f 20 | 66 61 6c 73 65 0d 65 6e |tack to |false.en|
|000036c0| 64 20 69 6d 70 6f 72 74 | 64 61 74 61 62 61 73 65 |d import|database|
|000036d0| 0d 0d 0d 6f 6e 20 45 64 | 69 74 48 69 74 20 64 69 |...on Ed|itHit di|
|000036e0| 61 6c 6f 67 2c 20 69 74 | 65 6d 48 69 74 2c 20 70 |alog, it|emHit, p|
|000036f0| 61 72 74 48 69 74 0d 2d | 2d 20 43 72 65 61 74 65 |artHit.-|- Create|
|00003700| 64 20 6f 6e 3a 20 54 75 | 65 73 64 61 79 2c 20 41 |d on: Tu|esday, A|
|00003710| 70 72 69 6c 20 32 31 2c | 20 31 39 39 32 0d 0d 69 |pril 21,| 1992..i|
|00003720| 66 20 69 74 65 6d 48 69 | 74 3c 32 20 6f 72 20 69 |f itemHi|t<2 or i|
|00003730| 74 65 6d 48 69 74 3d 36 | 20 74 68 65 6e 0d 2d 2d |temHit=6| then.--|
|00003740| 6e 6f 20 61 63 74 69 6f | 6e 0d 65 6c 73 65 0d 70 |no actio|n.else.p|
|00003750| 75 74 20 64 43 6f 6e 74 | 65 6e 74 73 20 28 64 69 |ut dCont|ents (di|
|00003760| 61 6c 6f 67 2c 36 29 20 | 69 6e 74 6f 20 68 6f 6c |alog,6) |into hol|
|00003770| 64 65 72 0d 69 66 20 69 | 74 65 6d 48 69 74 3d 32 |der.if i|temHit=2|
|00003780| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 6e 75 6d | then.if| the num|
|00003790| 62 65 72 20 6f 66 20 69 | 74 65 6d 73 20 6f 66 20 |ber of i|tems of |
|000037a0| 68 6f 6c 64 65 72 3e 30 | 20 74 68 65 6e 0d 70 75 |holder>0| then.pu|
|000037b0| 74 20 30 20 69 6e 74 6f | 20 63 6f 75 6e 74 0d 70 |t 0 into| count.p|
|000037c0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000037d0| 20 69 74 65 6d 73 20 6f | 66 20 68 6f 6c 64 65 72 | items o|f holder|
|000037e0| 20 69 6e 74 6f 20 64 65 | 6c 65 74 65 6e 75 6d 0d | into de|letenum.|
|000037f0| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 3d 31 20 |repeat w|ith x=1 |
|00003800| 74 6f 20 64 65 6c 65 74 | 65 6e 75 6d 0d 70 75 74 |to delet|enum.put|
|00003810| 20 69 74 65 6d 20 78 20 | 6f 66 20 68 6f 6c 64 65 | item x |of holde|
|00003820| 72 2d 63 6f 75 6e 74 20 | 69 6e 74 6f 20 6c 69 6e |r-count |into lin|
|00003830| 65 6e 75 6d 0d 61 6e 73 | 77 65 72 20 22 44 65 6c |enum.ans|wer "Del|
|00003840| 65 74 65 20 22 26 69 74 | 65 6d 20 31 20 6f 66 20 |ete "&it|em 1 of |
|00003850| 6c 69 6e 65 20 6c 69 6e | 65 6e 75 6d 20 6f 66 20 |line lin|enum of |
|00003860| 63 64 20 66 6c 64 20 22 | 63 68 65 6d 6c 6f 67 22 |cd fld "|chemlog"|
|00003870| 26 22 3f 22 20 77 69 74 | 68 20 22 4f 4b 22 20 6f |&"?" wit|h "OK" o|
|00003880| 72 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |r "Cance|l".if it|
|00003890| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000038a0| 6e 20 6e 65 78 74 20 72 | 65 70 65 61 74 0d 64 65 |n next r|epeat.de|
|000038b0| 6c 65 74 65 20 6c 69 6e | 65 20 6c 69 6e 65 6e 75 |lete lin|e linenu|
|000038c0| 6d 20 6f 66 20 63 64 20 | 66 6c 64 20 22 63 68 65 |m of cd |fld "che|
|000038d0| 6d 6c 6f 67 22 0d 61 64 | 64 20 31 20 74 6f 20 63 |mlog".ad|d 1 to c|
|000038e0| 6f 75 6e 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ount.end| repeat.|
|000038f0| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 69 66 20 69 |end if.e|lse if i|
|00003900| 74 65 6d 48 69 74 3d 34 | 20 74 68 65 6e 0d 61 64 |temHit=4| then.ad|
|00003910| 64 45 64 69 74 20 6e 65 | 77 0d 65 6c 73 65 20 69 |dEdit ne|w.else i|
|00003920| 66 20 69 74 65 6d 48 69 | 74 3d 33 20 74 68 65 6e |f itemHi|t=3 then|
|00003930| 0d 61 64 64 45 64 69 74 | 20 65 64 69 74 2c 68 6f |.addEdit| edit,ho|
|00003940| 6c 64 65 72 0d 65 6c 73 | 65 20 69 66 20 69 74 65 |lder.els|e if ite|
|00003950| 6d 48 69 74 3d 35 20 74 | 68 65 6e 0d 72 65 70 65 |mHit=5 t|hen.repe|
|00003960| 61 74 20 77 69 74 68 20 | 78 3d 31 20 74 6f 20 74 |at with |x=1 to t|
|00003970| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00003980| 6d 73 20 6f 66 20 68 6f | 6c 64 65 72 0d 69 66 20 |ms of ho|lder.if |
|00003990| 63 64 20 66 6c 64 20 22 | 63 6f 6d 70 6f 75 6e 64 |cd fld "|compound|
|000039a0| 22 20 69 73 20 65 6d 70 | 74 79 20 6f 72 20 6c 61 |" is emp|ty or la|
|000039b0| 73 74 20 63 68 61 72 20 | 6f 66 20 63 64 20 66 6c |st char |of cd fl|
|000039c0| 64 20 22 63 6f 6d 70 6f | 75 6e 64 22 3d 72 65 74 |d "compo|und"=ret|
|000039d0| 75 72 6e 20 74 68 65 6e | 20 70 75 74 20 65 6d 70 |urn then| put emp|
|000039e0| 74 79 20 69 6e 74 6f 20 | 64 6f 49 74 0d 65 6c 73 |ty into |doIt.els|
|000039f0| 65 20 70 75 74 20 72 65 | 74 75 72 6e 20 69 6e 74 |e put re|turn int|
|00003a00| 6f 20 64 6f 49 74 0d 70 | 75 74 20 64 6f 49 74 26 |o doIt.p|ut doIt&|
|00003a10| 69 74 65 6d 20 31 20 6f | 66 20 6c 69 6e 65 20 69 |item 1 o|f line i|
|00003a20| 74 65 6d 20 78 20 6f 66 | 20 68 6f 6c 64 65 72 20 |tem x of| holder |
|00003a30| 6f 66 20 63 64 20 66 6c | 64 20 22 63 68 65 6d 6c |of cd fl|d "cheml|
|00003a40| 6f 67 22 20 61 66 74 65 | 72 20 63 64 20 66 6c 64 |og" afte|r cd fld|
|00003a50| 20 22 63 6f 6d 70 6f 75 | 6e 64 22 0d 65 6e 64 20 | "compou|nd".end |
|00003a60| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 70 75 |repeat.e|nd if.pu|
|00003a70| 74 20 45 78 74 72 61 63 | 74 49 74 65 6d 73 28 63 |t Extrac|tItems(c|
|00003a80| 64 20 66 6c 64 20 22 63 | 68 65 6d 6c 6f 67 22 2c |d fld "c|hemlog",|
|00003a90| 31 29 20 69 6e 74 6f 20 | 4c 69 73 74 31 0d 64 43 |1) into |List1.dC|
|00003aa0| 68 61 6e 67 65 72 20 64 | 69 61 6c 6f 67 2c 22 36 |hanger d|ialog,"6|
|00003ab0| d7 4e 65 77 22 26 72 65 | 74 75 72 6e 26 4c 69 73 |.New"&re|turn&Lis|
|00003ac0| 74 31 2c 22 36 d7 73 65 | 6c 65 63 74 20 22 26 6c |t1,"6.se|lect "&l|
|00003ad0| 61 73 74 20 69 74 65 6d | 20 6f 66 20 68 6f 6c 64 |ast item| of hold|
|00003ae0| 65 72 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 65 64 |er.end i|f.end ed|
|00003af0| 69 74 48 69 74 0d 0d 6f | 6e 20 41 64 64 45 64 69 |itHit..o|n AddEdi|
|00003b00| 74 20 61 63 74 69 6f 6e | 2c 6e 61 6d 65 73 0d 67 |t action|,names.g|
|00003b10| 6c 6f 62 61 6c 20 64 52 | 65 73 75 6c 74 0d 70 75 |lobal dR|esult.pu|
|00003b20| 74 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 43 52 |t return| into CR|
|00003b30| 0d 0d 2d 2d 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..-- ---|--------|
|00003b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003b50| 2d 2d 2d 2d 0d 2d 2d 20 | 49 74 65 6d 73 20 69 6e |----.-- |Items in|
|00003b60| 20 44 69 61 6c 6f 67 3a | 20 22 41 64 64 2f 45 64 | Dialog:| "Add/Ed|
|00003b70| 69 74 22 0d 2d 2d 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |it".-- -|--------|
|00003b80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003b90| 2d 2d 2d 2d 2d 2d 0d 2d | 2d 20 31 20 d7 20 42 75 |------.-|- 1 . Bu|
|00003ba0| 74 74 6f 6e 20 22 4f 4b | 22 0d 2d 2d 20 32 20 d7 |tton "OK|".-- 2 .|
|00003bb0| 20 42 75 74 74 6f 6e 20 | 22 43 61 6e 63 65 6c 22 | Button |"Cancel"|
|00003bc0| 0d 2d 2d 20 33 20 d7 20 | 45 64 69 74 61 62 6c 65 |.-- 3 . |Editable|
|00003bd0| 20 54 65 78 74 20 22 49 | 74 65 6d 22 0d 2d 2d 20 | Text "I|tem".-- |
|00003be0| 34 20 d7 20 45 64 69 74 | 61 62 6c 65 20 54 65 78 |4 . Edit|able Tex|
|00003bf0| 74 20 22 4d 57 22 0d 2d | 2d 20 35 20 d7 20 45 64 |t "MW".-|- 5 . Ed|
|00003c00| 69 74 61 62 6c 65 20 54 | 65 78 74 20 22 44 65 6e |itable T|ext "Den|
|00003c10| 73 69 74 79 22 0d 2d 2d | 20 36 20 d7 20 53 74 61 |sity".--| 6 . Sta|
|00003c20| 74 69 63 20 54 65 78 74 | 20 22 4e 45 57 20 49 54 |tic Text| "NEW IT|
|00003c30| 45 4d 22 0d 2d 2d 20 37 | 20 d7 20 53 74 61 74 69 |EM".-- 7| . Stati|
|00003c40| 63 20 54 65 78 74 20 22 | 43 6f 6d 70 6f 75 6e 64 |c Text "|Compound|
|00003c50| 3a 22 0d 2d 2d 20 38 20 | d7 20 53 74 61 74 69 63 |:".-- 8 |. Static|
|00003c60| 20 54 65 78 74 20 22 43 | 6f 6d 70 6f 75 6e 64 3a | Text "C|ompound:|
|00003c70| 22 0d 2d 2d 20 39 20 d7 | 20 53 74 61 74 69 63 20 |".-- 9 .| Static |
|00003c80| 54 65 78 74 20 22 4d 6f | 6c 65 63 75 6c 61 72 20 |Text "Mo|lecular |
|00003c90| 57 65 69 67 68 74 3a 22 | 0d 2d 2d 20 31 30 20 d7 |Weight:"|.-- 10 .|
|00003ca0| 20 53 74 61 74 69 63 20 | 54 65 78 74 20 22 44 65 | Static |Text "De|
|00003cb0| 6e 73 69 74 79 20 28 6f | 70 74 69 6f 6e 61 6c 29 |nsity (o|ptional)|
|00003cc0| 20 67 2f 6d 6c 3a 22 0d | 2d 2d 20 31 31 20 d7 20 | g/ml:".|-- 11 . |
|00003cd0| 49 63 6f 6e 20 22 32 30 | 30 32 36 22 0d 2d 2d 20 |Icon "20|026".-- |
|00003ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003cf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00003d00| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 69 |put empt|y into i|
|00003d10| 74 65 6d 69 64 0d 69 66 | 20 61 63 74 69 6f 6e 3d |temid.if| action=|
|00003d20| 22 6e 65 77 22 20 74 68 | 65 6e 0d 70 75 74 20 44 |"new" th|en.put D|
|00003d30| 69 61 6c 6f 67 65 72 28 | 22 41 64 64 69 74 65 6d |ialoger(|"Additem|
|00003d40| 22 26 72 65 74 75 72 6e | 26 22 6f 6e 20 41 64 64 |"&return|&"on Add|
|00003d50| 45 64 69 74 48 69 74 22 | 2c 22 31 d7 49 6e 61 63 |EditHit"|,"1.Inac|
|00003d60| 74 69 76 61 74 65 22 2c | 22 36 d7 48 69 64 65 22 |tivate",|"6.Hide"|
|00003d70| c2 0d 2c 22 37 d7 48 69 | 64 65 22 2c 22 31 31 d7 |..,"7.Hi|de","11.|
|00003d80| 48 69 64 65 22 2c 22 31 | 32 d7 48 69 64 65 22 2c |Hide","1|2.Hide",|
|00003d90| 22 38 d7 20 20 20 43 6f | 6d 70 6f 75 6e 64 3a 22 |"8. Co|mpound:"|
|00003da0| 2c 22 39 d7 20 20 20 20 | 4d 57 3a 22 c2 0d 2c 22 |,"9. |MW:"..,"|
|00003db0| 31 33 d7 20 20 20 20 44 | 65 6e 73 69 74 79 3a 22 |13. D|ensity:"|
|00003dc0| 2c 22 31 34 d7 20 20 20 | 4e 65 77 20 43 6f 6d 70 |,"14. |New Comp|
|00003dd0| 6f 75 6e 64 22 29 20 69 | 6e 74 6f 20 64 52 65 73 |ound") i|nto dRes|
|00003de0| 75 6c 74 0d 69 66 20 64 | 52 65 73 75 6c 74 20 63 |ult.if d|Result c|
|00003df0| 6f 6e 74 61 69 6e 73 20 | 22 43 61 6e 63 65 6c 22 |ontains |"Cancel"|
|00003e00| 20 69 73 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 70 | is fals|e then.p|
|00003e10| 75 74 20 72 65 74 75 72 | 6e 26 74 72 61 6e 73 6c |ut retur|n&transl|
|00003e20| 69 74 28 72 65 74 75 72 | 6e 2c 22 2c 22 2c 6c 69 |it(retur|n,",",li|
|00003e30| 6e 65 20 33 20 74 6f 20 | 35 20 6f 66 20 64 52 65 |ne 3 to |5 of dRe|
|00003e40| 73 75 6c 74 29 20 69 6e | 74 6f 20 6e 65 77 69 74 |sult) in|to newit|
|00003e50| 65 6d 0d 69 66 20 6e 65 | 77 69 74 65 6d 20 69 73 |em.if ne|witem is|
|00003e60| 20 69 6e 20 63 64 20 66 | 6c 64 20 22 63 68 65 6d | in cd f|ld "chem|
|00003e70| 6c 6f 67 22 20 74 68 65 | 6e 0d 70 6c 61 79 20 68 |log" the|n.play h|
|00003e80| 61 72 70 73 69 63 68 6f | 72 64 0d 61 6e 73 77 65 |arpsicho|rd.answe|
|00003e90| 72 20 22 54 68 69 73 20 | 69 74 65 6d 20 69 73 20 |r "This |item is |
|00003ea0| 61 6c 72 65 61 64 79 20 | 69 6e 20 74 68 65 20 64 |already |in the d|
|00003eb0| 61 74 61 62 61 73 65 2e | 22 0d 65 6c 73 65 0d 70 |atabase.|".else.p|
|00003ec0| 75 74 20 6e 65 77 49 74 | 65 6d 20 61 66 74 65 72 |ut newIt|em after|
|00003ed0| 20 63 64 20 66 6c 64 20 | 22 63 68 65 6d 6c 6f 67 | cd fld |"chemlog|
|00003ee0| 22 0d 70 75 74 20 73 6f | 72 74 66 69 65 6c 64 20 |".put so|rtfield |
|00003ef0| 28 63 64 20 66 6c 64 20 | 22 43 68 65 6d 6c 6f 67 |(cd fld |"Chemlog|
|00003f00| 22 29 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |") into |cd fld "|
|00003f10| 63 68 65 6d 6c 6f 67 22 | 0d 61 6e 73 77 65 72 20 |chemlog"|.answer |
|00003f20| 22 44 6f 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |"Do you |want to |
|00003f30| 61 64 64 20 74 68 69 73 | 20 69 74 65 6d 20 74 6f |add this| item to|
|00003f40| 20 79 6f 75 72 20 63 75 | 72 72 65 6e 74 20 72 65 | your cu|rrent re|
|00003f50| 63 69 70 65 3f 22 20 77 | 69 74 68 20 22 4f 4b 22 |cipe?" w|ith "OK"|
|00003f60| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|00003f70| 69 74 20 69 73 20 22 4f | 4b 22 20 74 68 65 6e 0d |it is "O|K" then.|
|00003f80| 69 66 20 63 64 20 66 6c | 64 20 22 63 6f 6d 70 6f |if cd fl|d "compo|
|00003f90| 75 6e 64 22 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |und" is |not empt|
|00003fa0| 79 20 61 6e 64 20 6c 61 | 73 74 20 63 68 61 72 20 |y and la|st char |
|00003fb0| 6f 66 20 63 64 20 66 6c | 64 20 22 63 6f 6d 70 6f |of cd fl|d "compo|
|00003fc0| 75 6e 64 22 3c 3e 72 65 | 74 75 72 6e 20 74 68 65 |und"<>re|turn the|
|00003fd0| 6e 20 70 75 74 20 72 65 | 74 75 72 6e 20 69 6e 74 |n put re|turn int|
|00003fe0| 6f 20 64 6f 49 74 0d 65 | 6c 73 65 20 70 75 74 20 |o doIt.e|lse put |
|00003ff0| 65 6d 70 74 79 20 69 6e | 74 6f 20 64 6f 49 74 0d |empty in|to doIt.|
|00004000| 70 75 74 20 64 6f 49 74 | 26 69 74 65 6d 20 31 20 |put doIt|&item 1 |
|00004010| 6f 66 20 6c 69 6e 65 20 | 32 20 6f 66 20 6e 65 77 |of line |2 of new|
|00004020| 49 74 65 6d 20 61 66 74 | 65 72 20 63 64 20 66 6c |Item aft|er cd fl|
|00004030| 64 20 22 63 6f 6d 70 6f | 75 6e 64 22 0d 65 6e 64 |d "compo|und".end|
|00004040| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00004050| 66 0d 65 6c 73 65 20 69 | 66 20 61 63 74 69 6f 6e |f.else i|f action|
|00004060| 20 63 6f 6e 74 61 69 6e | 73 20 22 45 64 69 74 22 | contain|s "Edit"|
|00004070| 20 74 68 65 6e 0d 69 66 | 20 61 63 74 69 6f 6e 3d | then.if| action=|
|00004080| 22 45 64 69 74 22 20 74 | 68 65 6e 0d 72 65 70 65 |"Edit" t|hen.repe|
|00004090| 61 74 20 77 69 74 68 20 | 78 3d 31 20 74 6f 20 74 |at with |x=1 to t|
|000040a0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|000040b0| 6d 73 20 6f 66 20 6e 61 | 6d 65 73 0d 70 75 74 20 |ms of na|mes.put |
|000040c0| 69 74 65 6d 20 31 20 6f | 66 20 6c 69 6e 65 20 69 |item 1 o|f line i|
|000040d0| 74 65 6d 20 78 20 6f 66 | 20 6e 61 6d 65 73 20 6f |tem x of| names o|
|000040e0| 66 20 63 64 20 66 6c 64 | 20 22 63 68 65 6d 6c 6f |f cd fld| "chemlo|
|000040f0| 67 22 20 69 6e 74 6f 20 | 6e 61 6d 65 0d 70 75 74 |g" into |name.put|
|00004100| 20 6e 61 6d 65 20 69 6e | 74 6f 20 6e 61 6d 65 32 | name in|to name2|
|00004110| 0d 69 66 20 6c 65 6e 67 | 74 68 28 6e 61 6d 65 32 |.if leng|th(name2|
|00004120| 29 3e 31 35 20 74 68 65 | 6e 20 70 75 74 20 22 2e |)>15 the|n put ".|
|00004130| 2e 2e 22 20 69 6e 74 6f | 20 63 68 61 72 20 31 33 |.." into| char 13|
|00004140| 20 74 6f 20 31 35 20 6f | 66 20 6e 61 6d 65 32 0d | to 15 o|f name2.|
|00004150| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 6c 69 |put item| 2 of li|
|00004160| 6e 65 20 69 74 65 6d 20 | 78 20 6f 66 20 6e 61 6d |ne item |x of nam|
|00004170| 65 73 20 6f 66 20 63 64 | 20 66 6c 64 20 22 63 68 |es of cd| fld "ch|
|00004180| 65 6d 6c 6f 67 22 20 69 | 6e 74 6f 20 4d 57 0d 70 |emlog" i|nto MW.p|
|00004190| 75 74 20 69 74 65 6d 20 | 33 20 6f 66 20 6c 69 6e |ut item |3 of lin|
|000041a0| 65 20 69 74 65 6d 20 78 | 20 6f 66 20 6e 61 6d 65 |e item x| of name|
|000041b0| 73 20 6f 66 20 63 64 20 | 66 6c 64 20 22 63 68 65 |s of cd |fld "che|
|000041c0| 6d 6c 6f 67 22 20 69 6e | 74 6f 20 64 65 6e 73 69 |mlog" in|to densi|
|000041d0| 74 79 0d 70 75 74 20 44 | 69 61 6c 6f 67 65 72 28 |ty.put D|ialoger(|
|000041e0| 22 41 64 64 69 74 65 6d | 22 26 72 65 74 75 72 6e |"Additem|"&return|
|000041f0| 26 22 6f 6e 20 41 64 64 | 45 64 69 74 48 69 74 22 |&"on Add|EditHit"|
|00004200| 2c 22 36 d7 48 69 64 65 | 22 c2 0d 2c 22 37 d7 48 |,"6.Hide|"..,"7.H|
|00004210| 69 64 65 22 2c 22 31 31 | d7 48 69 64 65 22 2c 22 |ide","11|.Hide","|
|00004220| 31 32 d7 48 69 64 65 22 | 2c 22 38 d7 22 26 6e 61 |12.Hide"|,"8."&na|
|00004230| 6d 65 32 2c 22 33 d7 22 | 26 6e 61 6d 65 2c 22 33 |me2,"3."|&name,"3|
|00004240| d7 48 69 64 65 22 2c 22 | 39 d7 4d 57 3a 22 c2 0d |.Hide","|9.MW:"..|
|00004250| 2c 22 31 33 d7 44 65 6e | 73 69 74 79 3a 22 2c 22 |,"13.Den|sity:","|
|00004260| 31 34 d7 20 20 20 45 64 | 69 74 69 6e 67 20 44 61 |14. Ed|iting Da|
|00004270| 74 61 22 2c 22 34 d7 22 | 26 4d 57 2c 22 34 d7 53 |ta","4."|&MW,"4.S|
|00004280| 65 6c 65 63 74 22 2c 22 | 35 d7 22 26 64 65 6e 73 |elect","|5."&dens|
|00004290| 69 74 79 29 20 69 6e 74 | 6f 20 64 52 65 73 75 6c |ity) int|o dResul|
|000042a0| 74 0d 69 66 20 64 52 65 | 73 75 6c 74 20 63 6f 6e |t.if dRe|sult con|
|000042b0| 74 61 69 6e 73 20 22 43 | 61 6e 63 65 6c 22 20 69 |tains "C|ancel" i|
|000042c0| 73 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 70 75 74 |s false |then.put|
|000042d0| 20 74 72 61 6e 73 6c 69 | 74 28 72 65 74 75 72 6e | transli|t(return|
|000042e0| 2c 22 2c 22 2c 6c 69 6e | 65 20 33 20 74 6f 20 35 |,",",lin|e 3 to 5|
|000042f0| 20 6f 66 20 64 52 65 73 | 75 6c 74 29 20 69 6e 74 | of dRes|ult) int|
|00004300| 6f 20 6e 65 77 69 74 65 | 6d 0d 70 75 74 20 6e 65 |o newite|m.put ne|
|00004310| 77 49 74 65 6d 20 69 6e | 74 6f 20 6c 69 6e 65 20 |wItem in|to line |
|00004320| 69 74 65 6d 20 78 20 6f | 66 20 6e 61 6d 65 73 20 |item x o|f names |
|00004330| 6f 66 20 63 64 20 66 6c | 64 20 22 63 68 65 6d 6c |of cd fl|d "cheml|
|00004340| 6f 67 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |og".end |if.end r|
|00004350| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |epeat.en|d if.end|
|00004360| 20 69 66 0d 65 6e 64 20 | 61 64 64 45 64 69 74 0d | if.end |addEdit.|
|00004370| 0d 6f 6e 20 6e 65 77 48 | 69 74 20 64 69 61 6c 6f |.on newH|it dialo|
|00004380| 67 2c 69 74 65 6d 68 69 | 74 0d 70 75 74 20 64 43 |g,itemhi|t.put dC|
|00004390| 6f 6e 74 65 6e 74 73 20 | 28 64 69 61 6c 6f 67 29 |ontents |(dialog)|
|000043a0| 20 69 6e 74 6f 20 68 6f | 6c 64 65 72 0d 69 66 20 | into ho|lder.if |
|000043b0| 6c 69 6e 65 20 33 20 6f | 66 20 68 6f 6c 64 65 72 |line 3 o|f holder|
|000043c0| 20 69 73 20 65 6d 70 74 | 79 20 6f 72 20 6c 69 6e | is empt|y or lin|
|000043d0| 65 20 34 20 6f 66 20 68 | 6f 6c 64 65 72 20 69 73 |e 4 of h|older is|
|000043e0| 20 65 6d 70 74 79 20 6f | 72 c2 0d 73 74 72 69 70 | empty o|r..strip|
|000043f0| 28 22 71 77 65 72 74 79 | 75 69 6f 70 61 73 64 66 |("qwerty|uiopasdf|
|00004400| 67 68 6a 6b 6c 7a 78 63 | 76 62 6e 6d 51 57 45 52 |ghjklzxc|vbnmQWER|
|00004410| 54 59 55 49 4f 50 41 53 | 44 46 47 48 4a 4b 4c 5a |TYUIOPAS|DFGHJKLZ|
|00004420| 58 43 56 42 4e 22 2c 6c | 69 6e 65 20 34 20 6f 66 |XCVBN",l|ine 4 of|
|00004430| 20 68 6f 6c 64 65 72 29 | 20 69 73 20 6e 6f 74 20 | holder)| is not |
|00004440| 65 6d 70 74 79 20 74 68 | 65 6e 0d 64 43 68 61 6e |empty th|en.dChan|
|00004450| 67 65 72 20 64 69 61 6c | 6f 67 2c 22 31 d7 69 6e |ger dial|og,"1.in|
|00004460| 61 63 74 69 76 61 74 65 | 22 0d 65 6c 73 65 20 64 |activate|".else d|
|00004470| 43 68 61 6e 67 65 72 20 | 64 69 61 6c 6f 67 2c 22 |Changer |dialog,"|
|00004480| 31 d7 61 63 74 69 76 61 | 74 65 22 0d 65 6e 64 20 |1.activa|te".end |
|00004490| 6e 65 77 48 69 74 0d 0d | 0d 6f 6e 20 41 64 64 48 |newHit..|.on AddH|
|000044a0| 69 74 20 64 69 61 6c 6f | 67 2c 20 69 74 65 6d 48 |it dialo|g, itemH|
|000044b0| 69 74 2c 20 70 61 72 74 | 48 69 74 0d 70 75 74 20 |it, part|Hit.put |
|000044c0| 22 33 2c 34 2c 35 2c 36 | 2c 37 22 20 69 6e 74 6f |"3,4,5,6|,7" into|
|000044d0| 20 69 74 65 6d 69 64 0d | 70 75 74 20 64 43 6f 6e | itemid.|put dCon|
|000044e0| 74 65 6e 74 73 20 28 64 | 69 61 6c 6f 67 29 20 69 |tents (d|ialog) i|
|000044f0| 6e 74 6f 20 68 6f 6c 64 | 65 72 0d 69 66 20 6c 69 |nto hold|er.if li|
|00004500| 6e 65 20 69 74 65 6d 68 | 69 74 20 6f 66 20 68 6f |ne itemh|it of ho|
|00004510| 6c 64 65 72 20 63 6f 6e | 74 61 69 6e 73 20 22 f0 |lder con|tains ".|
|00004520| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 59 |" then.a|nswer "Y|
|00004530| 6f 75 20 63 61 6e 6e 6f | 74 20 75 73 65 20 74 68 |ou canno|t use th|
|00004540| 65 20 f0 20 63 68 61 72 | 61 63 74 65 72 20 69 6e |e . char|acter in|
|00004550| 20 74 68 65 20 63 61 74 | 61 6c 6f 67 21 21 22 20 | the cat|alog!!" |
|00004560| 77 69 74 68 20 22 4f 4b | 22 20 6f 72 20 22 43 61 |with "OK|" or "Ca|
|00004570| 6e 63 65 6c 22 0d 69 66 | 20 69 74 20 69 73 20 22 |ncel".if| it is "|
|00004580| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 64 43 68 |Cancel" |then.dCh|
|00004590| 61 6e 67 65 72 20 64 69 | 61 6c 6f 67 2c 64 69 73 |anger di|alog,dis|
|000045a0| 6d 69 73 73 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |miss.exi|t to Hyp|
|000045b0| 65 72 63 61 72 64 0d 65 | 6c 73 65 20 64 43 68 61 |ercard.e|lse dCha|
|000045c0| 6e 67 65 72 20 64 69 61 | 6c 6f 67 2c 20 69 74 65 |nger dia|log, ite|
|000045d0| 6d 68 69 74 26 22 d7 73 | 65 6c 65 63 74 22 0d 65 |mhit&".s|elect".e|
|000045e0| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 20 6c 65 6e |nd if.if| the len|
|000045f0| 67 74 68 20 6f 66 20 6c | 69 6e 65 20 33 20 6f 66 |gth of l|ine 3 of|
|00004600| 20 68 6f 6c 64 65 72 3e | 33 36 20 6f 72 c2 0d 74 | holder>|36 or..t|
|00004610| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 6c 69 6e |he lengt|h of lin|
|00004620| 65 20 34 20 6f 66 20 68 | 6f 6c 64 65 72 3e 31 31 |e 4 of h|older>11|
|00004630| 20 6f 72 c2 0d 74 68 65 | 20 6c 65 6e 67 74 68 20 | or..the| length |
|00004640| 6f 66 20 6c 69 6e 65 20 | 35 20 6f 66 20 68 6f 6c |of line |5 of hol|
|00004650| 64 65 72 3e 31 38 20 6f | 72 c2 0d 74 68 65 20 6c |der>18 o|r..the l|
|00004660| 65 6e 67 74 68 20 6f 66 | 20 6c 69 6e 65 20 36 20 |ength of| line 6 |
|00004670| 6f 66 20 68 6f 6c 64 65 | 72 3e 37 20 6f 72 20 68 |of holde|r>7 or h|
|00004680| 6f 6c 64 65 72 20 63 6f | 6e 74 61 69 6e 73 20 22 |older co|ntains "|
|00004690| f0 22 20 74 68 65 6e 0d | 64 43 68 61 6e 67 65 72 |." then.|dChanger|
|000046a0| 20 64 69 61 6c 6f 67 2c | 22 31 d7 69 6e 61 63 74 | dialog,|"1.inact|
|000046b0| 69 76 61 74 65 22 0d 65 | 78 69 74 20 41 64 64 48 |ivate".e|xit AddH|
|000046c0| 69 74 0d 65 6c 73 65 20 | 69 66 20 69 74 65 6d 48 |it.else |if itemH|
|000046d0| 69 74 20 69 73 20 69 6e | 20 69 74 65 6d 69 64 20 |it is in| itemid |
|000046e0| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|000046f0| 20 78 3d 33 20 74 6f 20 | 37 0d 69 66 20 6c 69 6e | x=3 to |7.if lin|
|00004700| 65 20 78 20 6f 66 20 68 | 6f 6c 64 65 72 20 69 73 |e x of h|older is|
|00004710| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 64 43 68 61 | empty t|hen.dCha|
|00004720| 6e 67 65 72 20 64 69 61 | 6c 6f 67 2c 22 31 d7 69 |nger dia|log,"1.i|
|00004730| 6e 61 63 74 69 76 61 74 | 65 22 0d 65 78 69 74 20 |nactivat|e".exit |
|00004740| 41 64 64 48 69 74 0d 65 | 6e 64 20 69 66 0d 65 6e |AddHit.e|nd if.en|
|00004750| 64 20 72 65 70 65 61 74 | 0d 64 43 68 61 6e 67 65 |d repeat|.dChange|
|00004760| 72 20 64 69 61 6c 6f 67 | 2c 22 31 d7 61 63 74 69 |r dialog|,"1.acti|
|00004770| 76 61 74 65 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |vate".en|d if.end|
|00004780| 20 41 64 64 48 69 74 0d | 0d 6f 6e 20 41 64 64 45 | AddHit.|.on AddE|
|00004790| 64 69 74 48 69 74 20 64 | 69 61 6c 6f 67 2c 20 69 |ditHit d|ialog, i|
|000047a0| 74 65 6d 48 69 74 2c 20 | 70 61 72 74 48 69 74 0d |temHit, |partHit.|
|000047b0| 69 66 20 69 74 65 6d 48 | 69 74 3c 33 20 74 68 65 |if itemH|it<3 the|
|000047c0| 6e 0d 65 6c 73 65 0d 70 | 75 74 20 64 43 6f 6e 74 |n.else.p|ut dCont|
|000047d0| 65 6e 74 73 28 64 69 61 | 6c 6f 67 29 20 69 6e 74 |ents(dia|log) int|
|000047e0| 6f 20 68 6f 6c 64 65 72 | 0d 70 75 74 20 22 31 32 |o holder|.put "12|
|000047f0| 33 34 35 36 37 38 39 30 | 2e 20 22 20 69 6e 74 6f |34567890|. " into|
|00004800| 20 73 74 72 69 70 43 68 | 61 72 73 0d 69 66 20 73 | stripCh|ars.if s|
|00004810| 74 72 69 70 28 73 70 61 | 63 65 2c 6c 69 6e 65 20 |trip(spa|ce,line |
|00004820| 34 20 6f 66 20 68 6f 6c | 64 65 72 29 20 69 73 20 |4 of hol|der) is |
|00004830| 65 6d 70 74 79 20 6f 72 | c2 0d 73 74 72 69 70 28 |empty or|..strip(|
|00004840| 73 70 61 63 65 2c 6c 69 | 6e 65 20 33 20 6f 66 20 |space,li|ne 3 of |
|00004850| 68 6f 6c 64 65 72 29 20 | 69 73 20 65 6d 70 74 79 |holder) |is empty|
|00004860| 20 6f 72 c2 0d 73 74 72 | 69 70 28 73 74 72 69 70 | or..str|ip(strip|
|00004870| 43 68 61 72 73 2c 6c 69 | 6e 65 20 34 20 6f 66 20 |Chars,li|ne 4 of |
|00004880| 68 6f 6c 64 65 72 29 20 | 69 73 20 6e 6f 74 20 65 |holder) |is not e|
|00004890| 6d 70 74 79 20 6f 72 c2 | 0d 73 74 72 69 70 28 73 |mpty or.|.strip(s|
|000048a0| 74 72 69 70 43 68 61 72 | 73 2c 6c 69 6e 65 20 35 |tripChar|s,line 5|
|000048b0| 20 6f 66 20 68 6f 6c 64 | 65 72 29 20 69 73 20 6e | of hold|er) is n|
|000048c0| 6f 74 20 65 6d 70 74 79 | 20 6f 72 c2 0d 6c 69 6e |ot empty| or..lin|
|000048d0| 65 20 33 20 74 6f 20 35 | 20 6f 66 20 68 6f 6c 64 |e 3 to 5| of hold|
|000048e0| 65 72 20 63 6f 6e 74 61 | 69 6e 73 20 22 2c 22 20 |er conta|ins "," |
|000048f0| 74 68 65 6e 0d 64 43 68 | 61 6e 67 65 72 20 64 69 |then.dCh|anger di|
|00004900| 61 6c 6f 67 2c 22 31 d7 | 69 6e 61 63 74 69 76 61 |alog,"1.|inactiva|
|00004910| 74 65 22 0d 65 6c 73 65 | 20 64 43 68 61 6e 67 65 |te".else| dChange|
|00004920| 72 20 64 69 61 6c 6f 67 | 2c 22 31 d7 61 63 74 69 |r dialog|,"1.acti|
|00004930| 76 61 74 65 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |vate".en|d if.end|
|00004940| 20 41 64 64 45 64 69 74 | 48 69 74 0d 0d 66 75 6e | AddEdit|Hit..fun|
|00004950| 63 74 69 6f 6e 20 69 6e | 64 65 78 20 66 69 6e 64 |ction in|dex find|
|00004960| 53 74 72 2c 73 65 61 72 | 63 68 53 74 72 0d 70 75 |Str,sear|chStr.pu|
|00004970| 74 20 22 22 20 69 6e 74 | 6f 20 6f 66 66 73 65 74 |t "" int|o offset|
|00004980| 4c 69 73 74 0d 70 75 74 | 20 31 20 69 6e 74 6f 20 |List.put| 1 into |
|00004990| 69 74 65 6d 43 6f 75 6e | 74 65 72 0d 70 75 74 20 |itemCoun|ter.put |
|000049a0| 30 20 69 6e 74 6f 20 6c | 61 73 74 4f 66 66 73 65 |0 into l|astOffse|
|000049b0| 74 0d 72 65 70 65 61 74 | 0d 70 75 74 20 6f 66 66 |t.repeat|.put off|
|000049c0| 73 65 74 28 66 69 6e 64 | 53 74 72 2c 73 65 61 72 |set(find|Str,sear|
|000049d0| 63 68 53 74 72 29 20 69 | 6e 74 6f 20 6e 65 77 4f |chStr) i|nto newO|
|000049e0| 66 66 73 65 74 0d 69 66 | 20 6e 65 77 4f 66 66 73 |ffset.if| newOffs|
|000049f0| 65 74 20 3d 20 30 20 74 | 68 65 6e 20 65 78 69 74 |et = 0 t|hen exit|
|00004a00| 20 72 65 70 65 61 74 0d | 70 75 74 20 6e 65 77 4f | repeat.|put newO|
|00004a10| 66 66 73 65 74 20 2b 20 | 6c 61 73 74 4f 66 66 73 |ffset + |lastOffs|
|00004a20| 65 74 20 69 6e 74 6f 20 | 6c 61 73 74 4f 66 66 73 |et into |lastOffs|
|00004a30| 65 74 0d 70 75 74 20 6c | 61 73 74 4f 66 66 73 65 |et.put l|astOffse|
|00004a40| 74 20 69 6e 74 6f 20 69 | 74 65 6d 20 69 74 65 6d |t into i|tem item|
|00004a50| 43 6f 75 6e 74 65 72 20 | 6f 66 20 6f 66 66 73 65 |Counter |of offse|
|00004a60| 74 4c 69 73 74 0d 61 64 | 64 20 31 20 74 6f 20 69 |tList.ad|d 1 to i|
|00004a70| 74 65 6d 43 6f 75 6e 74 | 65 72 0d 64 65 6c 65 74 |temCount|er.delet|
|00004a80| 65 20 63 68 61 72 20 31 | 20 74 6f 20 6e 65 77 4f |e char 1| to newO|
|00004a90| 66 66 73 65 74 20 6f 66 | 20 73 65 61 72 63 68 53 |ffset of| searchS|
|00004aa0| 74 72 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |tr.end r|epeat.re|
|00004ab0| 74 75 72 6e 20 6f 66 66 | 73 65 74 4c 69 73 74 0d |turn off|setList.|
|00004ac0| 65 6e 64 20 69 6e 64 65 | 78 0d 0d 66 75 6e 63 74 |end inde|x..funct|
|00004ad0| 69 6f 6e 20 6c 69 6e 65 | 4f 66 66 73 65 74 20 73 |ion line|Offset s|
|00004ae0| 65 61 72 63 68 53 74 72 | 2c 6d 61 69 6e 53 74 72 |earchStr|,mainStr|
|00004af0| 0d 72 65 74 75 72 6e 20 | 6e 75 6d 62 65 72 20 6f |.return |number o|
|00004b00| 66 20 6c 69 6e 65 73 20 | 6f 66 20 63 68 61 72 20 |f lines |of char |
|00004b10| 31 20 74 6f 20 c2 0d 6f | 66 66 73 65 74 28 73 65 |1 to ..o|ffset(se|
|00004b20| 61 72 63 68 53 74 72 2c | 6d 61 69 6e 53 74 72 29 |archStr,|mainStr)|
|00004b30| 20 6f 66 20 6d 61 69 6e | 53 74 72 0d 65 6e 64 20 | of main|Str.end |
|00004b40| 6c 69 6e 65 4f 66 66 73 | 65 74 0d 0d 66 75 6e 63 |lineOffs|et..func|
|00004b50| 74 69 6f 6e 20 4c 69 6e | 65 49 6e 64 65 78 20 53 |tion Lin|eIndex S|
|00004b60| 74 72 54 6f 46 69 6e 64 | 2c 20 73 74 72 69 6e 67 |trToFind|, string|
|00004b70| 54 6f 53 65 61 72 63 68 | 0d 70 75 74 20 49 6e 64 |ToSearch|.put Ind|
|00004b80| 65 78 28 53 74 72 54 6f | 46 69 6e 64 2c 20 73 74 |ex(StrTo|Find, st|
|00004b90| 72 69 6e 67 54 6f 53 65 | 61 72 63 68 29 20 69 6e |ringToSe|arch) in|
|00004ba0| 74 6f 20 6f 66 66 73 65 | 74 4c 69 73 74 0d 72 65 |to offse|tList.re|
|00004bb0| 70 65 61 74 20 77 69 74 | 68 20 6e 64 78 20 3d 20 |peat wit|h ndx = |
|00004bc0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00004bd0| 6f 66 20 69 74 65 6d 73 | 20 6f 66 20 6f 66 66 73 |of items| of offs|
|00004be0| 65 74 4c 69 73 74 0d 70 | 75 74 20 74 68 65 20 6e |etList.p|ut the n|
|00004bf0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00004c00| 66 20 63 68 61 72 20 31 | 20 74 6f 20 28 69 74 65 |f char 1| to (ite|
|00004c10| 6d 20 6e 64 78 20 6f 66 | 20 6f 66 66 73 65 74 4c |m ndx of| offsetL|
|00004c20| 69 73 74 29 20 6f 66 20 | c2 0d 73 74 72 69 6e 67 |ist) of |..string|
|00004c30| 54 6f 53 65 61 72 63 68 | 20 69 6e 74 6f 20 69 74 |ToSearch| into it|
|00004c40| 65 6d 20 6e 64 78 20 6f | 66 20 6c 69 73 74 4f 66 |em ndx o|f listOf|
|00004c50| 4c 69 6e 65 73 0d 65 6e | 64 20 72 65 70 65 61 74 |Lines.en|d repeat|
|00004c60| 0d 72 65 74 75 72 6e 20 | 6c 69 73 74 4f 66 4c 69 |.return |listOfLi|
|00004c70| 6e 65 73 0d 65 6e 64 20 | 4c 69 6e 65 49 6e 64 65 |nes.end |LineInde|
|00004c80| 78 0d 0d 6f 6e 20 66 6f | 75 6e 64 4c 69 73 74 48 |x..on fo|undListH|
|00004c90| 69 74 20 64 69 61 6c 6f | 67 2c 20 69 74 65 6d 48 |it dialo|g, itemH|
|00004ca0| 69 74 0d 67 6c 6f 62 61 | 6c 20 66 6f 75 6e 64 49 |it.globa|l foundI|
|00004cb0| 74 65 6d 73 0d 69 66 20 | 69 74 65 6d 48 69 74 20 |tems.if |itemHit |
|00004cc0| 3d 20 30 20 74 68 65 6e | 0d 64 43 68 61 6e 67 65 |= 0 then|.dChange|
|00004cd0| 72 20 64 69 61 6c 6f 67 | 2c 22 32 d7 73 65 6c 65 |r dialog|,"2.sele|
|00004ce0| 63 74 20 31 22 0d 65 6c | 73 65 20 69 66 20 69 74 |ct 1".el|se if it|
|00004cf0| 65 6d 48 69 74 20 3d 20 | 32 20 74 68 65 6e 0d 70 |emHit = |2 then.p|
|00004d00| 75 74 20 64 43 6f 6e 74 | 65 6e 74 73 28 64 69 61 |ut dCont|ents(dia|
|00004d10| 6c 6f 67 2c 32 29 20 69 | 6e 74 6f 20 69 74 65 6d |log,2) i|nto item|
|00004d20| 6e 75 6d 0d 73 65 6c 65 | 63 74 20 6c 69 6e 65 20 |num.sele|ct line |
|00004d30| 28 69 74 65 6d 20 69 74 | 65 6d 6e 75 6d 20 6f 66 |(item it|emnum of|
|00004d40| 20 66 6f 75 6e 64 49 74 | 65 6d 73 29 20 6f 66 20 | foundIt|ems) of |
|00004d50| 63 64 20 66 6c 64 20 22 | 6d 65 67 61 63 61 74 61 |cd fld "|megacata|
|00004d60| 6c 6f 67 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |log".end| if.end |
|00004d70| 66 6f 75 6e 64 4c 69 73 | 74 48 69 74 0d 0d 00 00 |foundLis|tHit....|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 02 80 ef 00 00 00 00 | 00 0c 39 60 00 02 84 5a |........|..9`...Z|
|00004eb0| 00 00 00 00 00 0c 2e f5 | 00 09 15 52 00 06 98 43 |........|...R...C|
|00004ec0| 00 04 11 63 00 00 00 00 | 00 00 00 00 00 04 47 c4 |...c....|......G.|
|00004ed0| 00 04 8b 57 00 0c 3e 62 | 00 04 c9 60 00 04 b7 54 |...W..>b|...`...T|
|00004ee0| 00 04 f4 41 00 0c 13 6d | 00 02 c4 4d 00 03 ed 98 |...A...m|...M....|
|00004ef0| 00 08 b2 55 00 00 00 00 | 00 00 00 00 00 05 22 ab |...U....|......".|
|00004f00| 00 04 5a fa 00 04 7a c2 | 00 06 29 47 00 00 00 00 |..Z...z.|..)G....|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 08 e6 80 00 08 f2 3c | 00 08 d7 01 00 00 00 00 |.......<|........|
|00004f30| 00 09 08 91 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 0c 29 40 | 00 00 00 00 00 00 00 00 |......)@|........|
|00004f50| 00 00 00 00 00 0c 2c e0 | 00 00 00 00 00 00 00 00 |......,.|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 08 ff 51 00 00 00 00 |........|...Q....|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 80 4c 49 53 54 | 00 00 08 ef 00 00 00 00 |....LIST|........|
|00005090| 00 00 00 01 00 00 08 00 | 00 00 00 09 00 40 00 02 |........|.....@..|
|000050a0| 00 0f 00 03 40 00 01 74 | 00 00 00 09 00 00 00 00 |....@..t|........|
|000050b0| 00 00 0b 5a 00 09 00 00 | 00 00 00 00 00 00 00 00 |...Z....|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 08 00 50 41 47 45 | 00 00 0b 5a 00 00 00 00 |....PAGE|...Z....|
|00005110| 00 00 08 ef 9c 5c d1 9c | 00 00 16 60 e0 0a 8b 00 |.....\..|...`....|
|00005120| 31 86 04 4b 21 81 12 80 | 00 44 02 01 2a 16 a6 55 |1..K!...|.D..*..U|
|00005130| 98 50 c0 a0 81 18 03 d9 | 30 24 24 31 85 00 30 5c |.P......|0$$1..0\|
|00005140| 12 41 0c 09 c4 38 02 24 | 00 30 80 60 6c 74 02 71 |.A...8.$|.0.`lt.q|
|00005150| 41 d8 02 8a 20 80 40 90 | 00 00 1f ab f0 00 00 81 |A... .@.|........|
|00005160| 10 c0 00 01 09 00 00 00 | 40 00 00 20 00 00 00 10 |........|@.. ....|
|00005170| 08 02 08 02 01 10 00 08 | 4c 00 08 04 02 00 01 31 |........|L......1|
|00005180| 00 01 00 00 80 0a 01 00 | 04 10 01 00 00 00 20 00 |........|...... .|
|00005190| 08 00 80 28 28 80 02 00 | 00 00 0f 43 e0 7e b9 ad |...((...|...C.~..|
|000051a0| 32 dd de f7 f7 d8 e7 a7 | 5f 46 bd 47 6d 11 fc 0b |2.......|_F.Gm...|
|000051b0| bf b1 63 e1 da 33 51 b5 | 35 8c 50 df d3 eb cd 86 |..c..3Q.|5.P.....|
|000051c0| cf f9 f7 e8 e9 a7 a6 7f | fa a5 97 67 a3 33 92 ee |........|...g.3..|
|000051d0| 22 ff df 7d 77 1f 78 70 | 00 00 2a 01 a0 01 00 00 |"..}w.xp|..*.....|
|000051e0| 32 00 08 60 0c 44 41 80 | 4d 00 02 c2 00 02 80 00 |2..`.DA.|M.......|
|000051f0| 10 10 81 0a 03 91 09 28 | 80 04 00 10 52 04 00 74 |.......(|....R..t|
|00005200| 3a 41 80 02 02 01 a1 10 | 00 94 80 50 60 30 c0 86 |:A......|...P`0..|
|00005210| 42 02 02 70 53 18 00 10 | 00 00 28 80 a0 03 04 00 |B..pS...|..(.....|
|00005220| 62 c0 0e 91 1d 88 40 84 | 12 05 81 08 0c 00 85 1c |b.....@.|........|
|00005230| 00 c0 02 07 a0 08 13 08 | 70 09 82 11 82 01 54 28 |........|p.....T(|
|00005240| 00 41 14 28 20 13 29 00 | 32 80 00 14 71 00 80 84 |.A.( .).|2...q...|
|00005250| a1 00 58 38 18 10 20 00 | 00 00 29 3c a0 02 80 84 |..X8.. .|..)<....|
|00005260| 61 80 06 d1 0d 88 40 02 | 9a 95 85 09 14 40 15 20 |a.....@.|.....@. |
|00005270| 00 90 48 e4 01 48 13 08 | 14 01 80 19 90 01 46 05 |..H..H..|......F.|
|00005280| 80 41 10 08 40 02 0c 14 | 30 08 01 24 60 51 90 24 |.A..@...|0..$`Q.$|
|00005290| 83 50 08 08 00 00 22 40 | 00 00 3a 51 a0 02 08 00 |.P...."@|..:Q....|
|000052a0| 60 80 04 01 0f 88 40 00 | 12 15 81 00 8c 00 05 10 |`.....@.|........|
|000052b0| 10 c0 12 00 a0 02 33 88 | 50 21 80 11 81 25 50 20 |......3.|P!...%P |
|000052c0| 40 41 34 08 21 05 09 20 | b0 a4 08 34 a0 00 90 80 |@A4.!.. |...4....|
|000052d0| 85 00 48 19 50 00 20 00 | 00 00 2c 91 a0 00 14 0c |..H.P. .|..,.....|
|000052e0| 20 08 02 30 28 04 73 40 | 0c 14 8d 41 30 00 29 20 | ..0(.s@|...A0.) |
|000052f0| 80 90 0a c4 80 03 16 28 | 18 a0 b0 08 02 53 90 14 |.......(|.....S..|
|00005300| a0 01 04 90 65 00 10 00 | 00 30 00 40 60 14 60 21 |....e...|.0.@`.`!|
|00005310| 63 48 80 f0 50 80 a8 20 | 00 00 0e 52 e0 7f ff ff |cH..P.. |...R....|
|00005320| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00005330| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00005340| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00005350| ff ff ff ff ff ff ff f0 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 25 20 42 4b 47 44 | 00 00 1a 4d 00 00 00 00 |..% BKGD|...M....|
|00005910| 00 00 1b 98 00 00 00 00 | 00 00 00 06 00 00 10 63 |........|.......c|
|00005920| 00 00 14 57 00 17 00 4d | 00 00 24 90 00 01 00 00 |...W...M|..$.....|
|00005930| 00 12 00 e4 00 0d 01 00 | 00 1f 00 16 00 34 00 5d |........|.....4.]|
|00005940| a0 00 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00005950| 4f 6c 69 67 6f 73 00 00 | 6f 6e 20 6d 6f 75 73 65 |Oligos..|on mouse|
|00005960| 55 70 0d 76 69 73 75 61 | 6c 20 65 66 66 65 63 74 |Up.visua|l effect|
|00005970| 20 69 72 69 73 20 6f 70 | 65 6e 0d 67 6f 20 74 6f | iris op|en.go to|
|00005980| 20 73 74 61 63 6b 20 22 | 4f 6c 69 67 6f 73 22 0d | stack "|Oligos".|
|00005990| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 63 6f |if the r|esult co|
|000059a0| 6e 74 61 69 6e 73 20 22 | 43 61 6e 27 74 20 6f 70 |ntains "|Can't op|
|000059b0| 65 6e 20 73 74 61 63 6b | 22 20 74 68 65 6e 0d 62 |en stack|" then.b|
|000059c0| 65 65 70 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |eep.answ|er "This|
|000059d0| 20 64 61 74 61 62 61 73 | 65 20 69 73 20 61 6c 72 | databas|e is alr|
|000059e0| 65 61 64 79 20 69 6e 20 | 75 73 65 21 22 0d 65 78 |eady in |use!".ex|
|000059f0| 69 74 20 74 6f 20 48 79 | 70 65 72 63 61 72 64 0d |it to Hy|percard.|
|00005a00| 65 6e 64 20 69 66 0d 0d | 65 6e 64 20 6d 6f 75 73 |end if..|end mous|
|00005a10| 65 55 70 0d 00 00 00 d6 | 00 0f 01 00 00 1c 01 cc |eUp.....|........|
|00005a20| 00 36 01 ec 20 00 00 00 | 54 c4 00 01 00 00 00 0c |.6.. ...|T.......|
|00005a30| 00 00 00 10 48 6f 6d 65 | 00 00 6f 6e 20 6d 6f 75 |....Home|..on mou|
|00005a40| 73 65 55 70 0d 76 69 73 | 75 61 6c 20 65 66 66 65 |seUp.vis|ual effe|
|00005a50| 63 74 20 69 72 69 73 20 | 63 6c 6f 73 65 0d 67 6f |ct iris |close.go|
|00005a60| 20 68 6f 6d 65 0d 69 66 | 20 74 68 65 20 72 65 73 | home.if| the res|
|00005a70| 75 6c 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 43 61 |ult cont|ains "Ca|
|00005a80| 6e 27 74 20 6f 70 65 6e | 20 73 74 61 63 6b 22 20 |n't open| stack" |
|00005a90| 74 68 65 6e 0d 62 65 65 | 70 0d 61 6e 73 77 65 72 |then.bee|p.answer|
|00005aa0| 20 22 54 68 69 73 20 64 | 61 74 61 62 61 73 65 20 | "This d|atabase |
|00005ab0| 69 73 20 61 6c 72 65 61 | 64 79 20 69 6e 20 75 73 |is alrea|dy in us|
|00005ac0| 65 21 22 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |e!".exit| to Hype|
|00005ad0| 72 63 61 72 64 0d 65 6e | 64 20 69 66 0d 0d 65 6e |rcard.en|d if..en|
|00005ae0| 64 20 6d 6f 75 73 65 55 | 70 0d 0d 00 08 06 00 26 |d mouseU|p......&|
|00005af0| 02 00 00 4f 00 39 00 7a | 01 3a 00 01 00 00 00 00 |...O.9.z|.:......|
|00005b00| 00 01 00 16 00 12 01 00 | 00 12 53 6f 6c 6e 6e 61 |........|..Solnna|
|00005b10| 6d 65 00 00 6f 6e 20 6d | 6f 75 73 65 65 6e 74 65 |me..on m|ouseente|
|00005b20| 72 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |r.if the| short n|
|00005b30| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 3d 6c |ame of t|his cd=l|
|00005b40| 69 6e 65 20 31 20 6f 66 | 20 6d 65 20 74 68 65 6e |ine 1 of| me then|
|00005b50| 20 65 78 69 74 20 74 6f | 20 48 79 70 65 72 63 61 | exit to| Hyperca|
|00005b60| 72 64 0d 63 68 65 63 6b | 74 69 74 6c 65 0d 65 6e |rd.check|title.en|
|00005b70| 64 20 6d 6f 75 73 65 65 | 6e 74 65 72 0d 0d 6f 6e |d mousee|nter..on|
|00005b80| 20 63 6c 6f 73 65 66 69 | 65 6c 64 0d 69 66 20 74 | closefi|eld.if t|
|00005b90| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00005ba0| 20 74 68 69 73 20 63 64 | 3d 6c 69 6e 65 20 31 20 | this cd|=line 1 |
|00005bb0| 6f 66 20 6d 65 20 74 68 | 65 6e 20 65 78 69 74 20 |of me th|en exit |
|00005bc0| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 63 68 65 |to Hyper|card.che|
|00005bd0| 63 6b 74 69 74 6c 65 0d | 70 61 73 73 20 63 6c 6f |cktitle.|pass clo|
|00005be0| 73 65 66 69 65 6c 64 0d | 65 6e 64 20 63 6c 6f 73 |sefield.|end clos|
|00005bf0| 65 66 69 65 6c 64 0d 0d | 6f 6e 20 63 68 65 63 6b |efield..|on check|
|00005c00| 74 69 74 6c 65 0d 70 75 | 74 20 74 68 65 20 73 68 |title.pu|t the sh|
|00005c10| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00005c20| 20 63 64 20 69 6e 74 6f | 20 6f 6c 64 6e 61 6d 65 | cd into| oldname|
|00005c30| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00005c40| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |me of th|is cd is|
|00005c50| 20 6e 6f 74 20 69 6e 20 | 63 64 20 66 6c 64 20 22 | not in |cd fld "|
|00005c60| 73 6f 6c 75 74 69 6f 6e | 69 6e 64 65 78 22 20 6f |solution|index" o|
|00005c70| 66 20 63 64 20 31 20 6f | 72 20 74 68 65 20 69 64 |f cd 1 o|r the id|
|00005c80| 20 6f 66 20 74 68 69 73 | 20 63 64 3d 22 63 61 72 | of this| cd="car|
|00005c90| 64 20 69 64 20 33 39 30 | 37 22 20 74 68 65 6e 20 |d id 390|7" then |
|00005ca0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00005cb0| 64 0d 65 6c 73 65 20 69 | 66 20 6f 6c 64 6e 61 6d |d.else i|f oldnam|
|00005cc0| 65 3d 62 67 20 66 69 65 | 6c 64 20 69 64 20 33 38 |e=bg fie|ld id 38|
|00005cd0| 20 74 68 65 6e 20 65 78 | 69 74 20 74 6f 20 48 79 | then ex|it to Hy|
|00005ce0| 70 65 72 63 61 72 64 0d | 65 6c 73 65 20 69 66 20 |percard.|else if |
|00005cf0| 6d 65 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |me is em|pty then|
|00005d00| 0d 70 75 74 20 6f 6c 64 | 6e 61 6d 65 20 69 6e 74 |.put old|name int|
|00005d10| 6f 20 6d 65 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |o me.exi|t to Hyp|
|00005d20| 65 72 63 61 72 64 0d 65 | 6c 73 65 0d 73 65 74 20 |ercard.e|lse.set |
|00005d30| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00005d40| 75 74 20 62 67 20 66 69 | 65 6c 64 20 69 64 20 33 |ut bg fi|eld id 3|
|00005d50| 38 20 69 6e 74 6f 20 6e | 65 77 6e 61 6d 65 0d 69 |8 into n|ewname.i|
|00005d60| 66 20 6e 65 77 6e 61 6d | 65 20 63 6f 6e 74 61 69 |f newnam|e contai|
|00005d70| 6e 73 20 22 2c 22 20 6f | 72 20 6e 65 77 6e 61 6d |ns "," o|r newnam|
|00005d80| 65 20 63 6f 6e 74 61 69 | 6e 73 20 71 75 6f 74 65 |e contai|ns quote|
|00005d90| 20 6f 72 20 6e 65 77 6e | 61 6d 65 20 63 6f 6e 74 | or newn|ame cont|
|00005da0| 61 69 6e 73 20 72 65 74 | 75 72 6e 20 74 68 65 6e |ains ret|urn then|
|00005db0| 0d 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 |.play ha|rpsichor|
|00005dc0| 64 0d 61 6e 73 77 65 72 | 20 22 54 68 65 20 6e 65 |d.answer| "The ne|
|00005dd0| 77 20 73 6f 6c 75 74 69 | 6f 6e 20 6e 61 6d 65 20 |w soluti|on name |
|00005de0| 63 6f 6e 74 61 69 6e 73 | 20 69 6e 76 61 6c 69 64 |contains| invalid|
|00005df0| 20 63 68 61 72 61 63 74 | 65 72 73 21 22 0d 70 75 | charact|ers!".pu|
|00005e00| 74 20 6f 6c 64 6e 61 6d | 65 20 69 6e 74 6f 20 62 |t oldnam|e into b|
|00005e10| 67 20 66 6c 64 20 69 64 | 20 33 38 0d 65 78 69 74 |g fld id| 38.exit|
|00005e20| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6e | to Hype|rcard.en|
|00005e30| 64 20 69 66 0d 69 66 20 | 74 68 65 20 6c 65 6e 67 |d if.if |the leng|
|00005e40| 74 68 20 6f 66 20 6e 65 | 77 6e 61 6d 65 3e 33 30 |th of ne|wname>30|
|00005e50| 20 74 68 65 6e 0d 62 65 | 65 70 0d 61 6e 73 77 65 | then.be|ep.answe|
|00005e60| 72 20 22 53 6f 6c 75 74 | 69 6f 6e 20 6e 61 6d 65 |r "Solut|ion name|
|00005e70| 73 20 6d 75 73 74 20 6e | 6f 74 20 65 78 63 65 65 |s must n|ot excee|
|00005e80| 64 20 33 30 20 63 68 61 | 72 61 63 74 65 72 73 21 |d 30 cha|racters!|
|00005e90| 22 0d 70 75 74 20 6f 6c | 64 6e 61 6d 65 20 69 6e |".put ol|dname in|
|00005ea0| 74 6f 20 62 67 20 66 6c | 64 20 69 64 20 33 38 0d |to bg fl|d id 38.|
|00005eb0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00005ec0| 64 0d 65 6e 64 20 69 66 | 0d 69 66 20 73 74 72 69 |d.end if|.if stri|
|00005ed0| 70 28 22 31 32 33 34 35 | 36 37 38 39 30 2e 20 2d |p("12345|67890. -|
|00005ee0| 2b 22 2c 6e 65 77 6e 61 | 6d 65 29 20 69 73 20 65 |+",newna|me) is e|
|00005ef0| 6d 70 74 79 20 74 68 65 | 6e 0d 62 65 65 70 0d 61 |mpty the|n.beep.a|
|00005f00| 6e 73 77 65 72 20 22 53 | 6f 6c 75 74 69 6f 6e 20 |nswer "S|olution |
|00005f10| 6e 61 6d 65 73 20 6d 75 | 73 74 20 68 61 76 65 20 |names mu|st have |
|00005f20| 61 74 20 6c 65 61 73 74 | 20 6f 6e 65 20 6e 6f 6e |at least| one non|
|00005f30| 2d 6e 75 6d 65 72 69 63 | 20 63 68 61 72 61 63 74 |-numeric| charact|
|00005f40| 65 72 21 22 0d 70 75 74 | 20 6f 6c 64 6e 61 6d 65 |er!".put| oldname|
|00005f50| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 69 64 20 | into bg| fld id |
|00005f60| 33 38 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |38.exit |to Hyper|
|00005f70| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |card.end| if.put |
|00005f80| 63 64 20 66 6c 64 20 22 | 73 6f 6c 75 74 69 6f 6e |cd fld "|solution|
|00005f90| 69 6e 64 65 78 22 20 6f | 66 20 63 64 20 31 20 69 |index" o|f cd 1 i|
|00005fa0| 6e 74 6f 20 73 6f 6c 75 | 74 69 6f 6e 69 6e 64 65 |nto solu|tioninde|
|00005fb0| 78 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |x.put th|e number|
|00005fc0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 73 6f 6c | of line|s of sol|
|00005fd0| 75 74 69 6f 6e 69 6e 64 | 65 78 20 69 6e 74 6f 20 |utionind|ex into |
|00005fe0| 6c 69 6e 65 73 0d 69 66 | 20 6e 65 77 6e 61 6d 65 |lines.if| newname|
|00005ff0| 20 69 73 20 69 6e 20 73 | 6f 6c 75 74 69 6f 6e 69 | is in s|olutioni|
|00006000| 6e 64 65 78 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |ndex the|n.repeat|
|00006010| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 6c 69 6e | with x=|1 to lin|
|00006020| 65 73 0d 69 66 20 6e 65 | 77 6e 61 6d 65 3d 6c 69 |es.if ne|wname=li|
|00006030| 6e 65 20 78 20 6f 66 20 | 73 6f 6c 75 74 69 6f 6e |ne x of |solution|
|00006040| 69 6e 64 65 78 20 74 68 | 65 6e 0d 69 66 20 6e 65 |index th|en.if ne|
|00006050| 77 6e 61 6d 65 3d 74 68 | 65 20 73 68 6f 72 74 20 |wname=th|e short |
|00006060| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|00006070| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00006080| 0d 62 65 65 70 0d 61 6e | 73 77 65 72 20 22 53 6f |.beep.an|swer "So|
|00006090| 72 72 79 2c 20 61 20 73 | 6f 6c 75 74 69 6f 6e 20 |rry, a s|olution |
|000060a0| 77 69 74 68 20 74 68 69 | 73 20 6e 61 6d 65 20 69 |with thi|s name i|
|000060b0| 73 20 61 6c 72 65 61 64 | 79 20 69 6e 20 74 68 65 |s alread|y in the|
|000060c0| 20 64 61 74 61 62 61 73 | 65 2e 22 0d 70 75 74 20 | databas|e.".put |
|000060d0| 6f 6c 64 6e 61 6d 65 20 | 69 6e 74 6f 20 62 67 20 |oldname |into bg |
|000060e0| 66 6c 64 20 69 64 20 33 | 38 0d 65 78 69 74 20 74 |fld id 3|8.exit t|
|000060f0| 6f 20 48 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o Hyperc|ard.end |
|00006100| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |if.end r|epeat.en|
|00006110| 64 20 69 66 0d 0d 67 65 | 74 20 73 65 61 72 63 68 |d if..ge|t search|
|00006120| 28 63 64 20 66 6c 64 20 | 22 73 6f 6c 75 74 69 6f |(cd fld |"solutio|
|00006130| 6e 69 6e 64 65 78 22 20 | 6f 66 20 63 64 20 31 2c |nindex" |of cd 1,|
|00006140| 6f 6c 64 6e 61 6d 65 2c | 74 72 75 65 2c 61 6c 6c |oldname,|true,all|
|00006150| 29 0d 70 75 74 20 6e 65 | 77 6e 61 6d 65 20 69 6e |).put ne|wname in|
|00006160| 74 6f 20 6c 69 6e 65 20 | 69 74 65 6d 20 31 20 6f |to line |item 1 o|
|00006170| 66 20 69 74 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |f it of |cd fld "|
|00006180| 73 6f 6c 75 74 69 6f 6e | 69 6e 64 65 78 22 20 6f |solution|index" o|
|00006190| 66 20 63 64 20 31 0d 70 | 75 74 20 73 6f 72 74 66 |f cd 1.p|ut sortf|
|000061a0| 69 65 6c 64 28 63 64 20 | 66 6c 64 20 22 73 6f 6c |ield(cd |fld "sol|
|000061b0| 75 74 69 6f 6e 69 6e 64 | 65 78 22 20 6f 66 20 63 |utionind|ex" of c|
|000061c0| 64 20 31 29 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |d 1) int|o cd fld|
|000061d0| 20 22 73 6f 6c 75 74 69 | 6f 6e 69 6e 64 65 78 22 | "soluti|onindex"|
|000061e0| 20 6f 66 20 63 64 20 31 | 0d 69 66 20 6c 69 6e 65 | of cd 1|.if line|
|000061f0| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 22 73 6f | 1 of cd| fld "so|
|00006200| 6c 75 74 69 6f 6e 69 6e | 64 65 78 22 20 6f 66 20 |lutionin|dex" of |
|00006210| 63 64 20 31 20 69 73 20 | 65 6d 70 74 79 20 74 68 |cd 1 is |empty th|
|00006220| 65 6e 20 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |en delet|e line 1|
|00006230| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 73 6f 6c 75 | of cd f|ld "solu|
|00006240| 74 69 6f 6e 69 6e 64 65 | 78 22 20 6f 66 20 63 64 |tioninde|x" of cd|
|00006250| 20 31 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 | 1.set t|he name |
|00006260| 6f 66 20 74 68 69 73 20 | 63 64 20 74 6f 20 6e 65 |of this |cd to ne|
|00006270| 77 6e 61 6d 65 0d 6c 6f | 63 6b 20 73 63 72 65 65 |wname.lo|ck scree|
|00006280| 6e 0d 73 6f 72 74 20 61 | 73 63 65 6e 64 69 6e 67 |n.sort a|scending|
|00006290| 20 62 79 20 66 69 72 73 | 74 20 6c 69 6e 65 20 6f | by firs|t line o|
|000062a0| 66 20 62 67 20 66 69 65 | 6c 64 20 69 64 20 33 38 |f bg fie|ld id 38|
|000062b0| 0d 67 6f 20 74 6f 20 63 | 64 20 6e 65 77 6e 61 6d |.go to c|d newnam|
|000062c0| 65 0d 70 75 74 20 6e 65 | 77 6e 61 6d 65 20 69 6e |e.put ne|wname in|
|000062d0| 74 6f 20 6f 6c 64 6e 61 | 6d 65 0d 65 6e 64 20 69 |to oldna|me.end i|
|000062e0| 66 0d 65 6e 64 20 63 68 | 65 63 6b 74 69 74 6c 65 |f.end ch|ecktitle|
|000062f0| 0d 00 00 c8 00 27 02 02 | 00 9a 01 52 01 18 01 d3 |.....'..|...R....|
|00006300| 20 00 00 00 00 00 00 00 | 00 16 00 0a 00 00 00 0d | .......|........|
|00006310| 6e 6f 74 65 73 00 00 6f | 6e 20 4d 6f 75 73 65 45 |notes..o|n MouseE|
|00006320| 6e 74 65 72 0d 70 75 74 | 20 22 54 68 69 73 20 66 |nter.put| "This f|
|00006330| 69 65 6c 64 20 69 73 20 | 64 65 73 69 67 6e 65 64 |ield is |designed|
|00006340| 20 66 6f 72 20 73 74 6f | 72 61 67 65 20 6f 66 20 | for sto|rage of |
|00006350| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00006360| 74 20 74 68 65 20 70 72 | 65 70 61 72 61 74 69 6f |t the pr|eparatio|
|00006370| 6e 20 61 6e 64 20 73 74 | 6f 72 61 67 65 20 6f 66 |n and st|orage of|
|00006380| 20 74 68 65 20 73 6f 6c | 75 74 69 6f 6e 2e 22 20 | the sol|ution." |
|00006390| 69 6e 74 6f 20 54 65 78 | 74 0d 62 75 74 74 6f 6e |into Tex|t.button|
|000063a0| 68 65 6c 70 20 74 65 78 | 74 0d 65 6e 64 20 4d 6f |help tex|t.end Mo|
|000063b0| 75 73 65 45 6e 74 65 72 | 0d 00 00 e8 00 29 01 00 |useEnter|.....)..|
|000063c0| 00 1e 00 60 00 32 00 af | a0 00 00 00 00 00 00 01 |...`.2..|........|
|000063d0| 00 00 00 0c 00 00 00 10 | 53 65 71 75 65 6e 63 65 |........|Sequence|
|000063e0| 73 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 76 69 |s..on mo|useUp.vi|
|000063f0| 73 75 61 6c 20 65 66 66 | 65 63 74 20 69 72 69 73 |sual eff|ect iris|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.